Please read the new rule regarding the restriction on the use of AI tools. ×

Can someone explain this regarding Error "'uninitiaized value usage"?

Revision en3, by signature, 2020-05-02 17:09:32

I was getting this error in some of the problems and my solution was getting Memory Limit Exceeded on Test 1 or Wrong Answer on Test 1. But after adding below lines my solutions got accepted.

ifstream cin("input.txt"); ofstream cout("output.txt");

Link of failed submission

Link of passed submission

Problem253 A

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en3 English signature 2020-05-02 17:09:32 10
en2 English signature 2020-05-02 17:08:12 2 Tiny change: 'ccepted.\nifstream' -> 'ccepted.\n\nifstream'
en1 English signature 2020-05-02 17:06:46 553 Initial revision (published)