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

Автор abhishekrathorehumain, история, 4 года назад, По-английски

i am getting this error after submitting my sollution , does someone know how to resolve ?

Can't find file output.txt invokerId=73b0267879f276e1b42105987992c898, location=2032792125.

my sollution https://codeforces.me/problemset/submission/35/187501068

in problem https://codeforces.me/problemset/problem/35/D

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

»
4 года назад, скрыть # |
 
Проголосовать: нравится +3 Проголосовать: не нравится

You have to use these 2 lines of code to input and output using text files : ~~~~~ freopen("input.txt","r",stdin); freopen("output.txt","w",stdout); ~~~~~ These two lines should be at the beginning of the int main() function. Hope this helps. I am attaching the corresponding code also :

187507215

There seems to be some missing edge case. That's why it is giving wrong answer on test 28. Just fix that and you should be good to go.