Runtime Error(SIGXFSZ)

Please Help , i am getting a Runtime Error(SIGXFSZ)

link of my solution : https://www.codechef.com/viewsolution/21663350

link of the problem : https://www.codechef.com/problems/FLOW007

1 Like

This error means you exceeded the allotted file size. Happens when you are printing way to much.

while(n>=10){cout<<n%10;
 		    	     n=n/10;}
 		    	     cout<<n<<"\n";//Perhaps comment this line out? :)
               }

Oh alright Thanks !