Revision en1, by n-m-n, 2021-11-13 09:54:38

Hi, I tried submitting solution to this problem: https://mirror.codeforces.com/contest/253/problem/B, in the problem statement it's mentioned to read input and output from the files "input.txt" and "output.txt" respectively, I did the same in my code using these two lines: freeopen("input.txt", "r", stdin); freeopen("output.txt", "w", stdout); But still i'm getting the this error, Here is the link to my submission: https://mirror.codeforces.com/contest/253/submission/135225966, Please help if you know. Thank You!!

Tags runtime error, output streams, input-output, c++

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English n-m-n 2021-11-13 09:54:38 608 Initial revision (published)