×

# SIGXFSZ runtime error

 8 I am getting SIGXFSZ runtime error for a problem. What is the possible reason for this error? asked 05 Aug '13, 17:34 2★atulshgl 96●1●2●4 accept rate: 0%

 7 It is "exceeded file size". Your program is outputting too much values, that the output file generated is having a size larger than that is allowable. Are you sure, you are getting this in codechef?? answered 05 Aug '13, 17:46 4.2k●5●23●64 accept rate: 15% 1 I have got this error on other online IDEs. But never on codechef. Whenever, there is some extra output, that would be judged wrong answer, immediately. That is why I asked whether you are getting this error on codechef. (05 Aug '13, 17:50) May be stray/extra white-spaces can be the reason. (05 Aug '13, 17:51) Ya I got this in codechef... Thanx for the answer (05 Aug '13, 21:23) atulshgl2★
 3 sometimes i get this error when the input statements in my code dont match the input given by the input file.for example if your input file has total 50 values but you try to read 50+ values you can get a SIGXFSZ error.that why it says execeeded filesize.you are reading more inputs than available from the test file. answered 05 Aug '13, 19:32 86●1●4 accept rate: 0% Thanks for saving my day! For those using EOF and getting this error never use while(EOF) instead try while(scanf("%d", &s)); For reason search on google about EOF (03 Aug '14, 13:50) devyadav3★
 0 I just got this error because I was not answering the question MOD 1000000007. Perhaps, this increased the file size so much it, gave me a Runtime Error with SIGXFSZ. answered 03 Sep '17, 11:27 144●8 accept rate: 8%
 0 In my case, getting a lot of outputs leads to this. Actually, I forget to comment out the unwanted print statement. answered 10 Mar, 22:22 2★yash005 2●2 accept rate: 0%
 toggle preview community wiki:
Preview

By Email:

Markdown Basics

• *italic* or _italic_
• **bold** or __bold__
• 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:

×525
×231

question asked: 05 Aug '13, 17:34

question was seen: 22,998 times

last updated: 10 Mar, 22:22