i_am_bug's blog

By i_am_bug, history, 5 years ago, In English
  • Vote: I like it
  • -5
  • Vote: I do not like it

| Write comment?
»
3 years ago, hide # |
 
Vote: I like it +9 Vote: I do not like it

This means you have to take input from the input file(input.txt) and you have to output the result in the output file(output.txt).

like in C++ you have to add these two line in your code

freopen("input.txt", "r", stdin);
  freopen("output.txt", "w", stdout);

I hope now you got it