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

×

How to deal with SIGXFSZ error

This question has been asked here before and I understand what the error means. The question which is giving this error expects 5000 lines of output (at max) so I figure the method by which I output should be very fast. Correct me if I'm wrong.

How do I improve my output method? I submitted my code in C and this was the only output line: printf("%llu\n",x); I'm stuck at this problem. I looked around and could only find code snippets for fast input. Can someone help me?

asked 14 Apr '14, 02:17

rushilpaul's gravatar image

4★rushilpaul
3501612
accept rate: 6%

edited 14 Apr '14, 02:25


Dude take care of the fact that the output file has a fixed size hence the output should be such strictly monitored ..as in which input is supposed to give the output remember that whitespaces also count :)

link

answered 14 Apr '14, 10:38

Sandeepripping's gravatar image

4★Sandeepripping
1
accept rate: 0%

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,477
×531
×234
×61

question asked: 14 Apr '14, 02:17

question was seen: 9,048 times

last updated: 14 Apr '14, 10:38