Блог пользователя i_am_bug

Автор i_am_bug, история, 3 года назад, По-английски
  • Проголосовать: нравится
  • -5
  • Проголосовать: не нравится

»
14 месяцев назад, # |
  Проголосовать: нравится +9 Проголосовать: не нравится

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

  • »
    »
    12 месяцев назад, # ^ |
      Проголосовать: нравится 0 Проголосовать: не нравится

    lets say the problem has input file as

    input : path.in

    output: standard output

    then how I will modify your ans??