You are not logged in. Please login at www.codechef.com to post your questions!

×

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

asked 20 Nov '18, 09:41

prembharwani's gravatar image

2★prembharwani
195
accept rate: 0%


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? :)
               }
link

answered 20 Nov '18, 11:22

vijju123's gravatar image

4★vijju123 ♦♦
15.2k11860
accept rate: 18%

edited 20 Nov '18, 11:23

Oh alright Thanks !

(21 Nov '18, 10:40) prembharwani2★
toggle preview
Preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported
  • mathemetical formulas in Latex between $ symbol

Question tags:

×1,901
×21
×16
×1

question asked: 20 Nov '18, 09:41

question was seen: 83 times

last updated: 21 Nov '18, 10:40