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

Автор Zhanibekkk, история, 5 лет назад, По-русски

I have a lot of files named with sample numbers 1, 2, 3 and so on. In this files there are two integers a and b. And I should print a+b. And output should be in files such as 1.a, 2.a, 3.a etc.

Please, help me or send me correct code. My Code;

This code create answer for 1st file. But for others, outputs answer of 1st file too.

P.s. Sorry for my English.

  • Проголосовать: нравится
  • +3
  • Проголосовать: не нравится