Runtime Error(SIGXFSZ)

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

link of my solution : CodeChef: Practical coding for everyone

link of the problem : FLOW007 Problem - CodeChef

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 !