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

×

PLEASE HELP TO FIND RUNTIME ERROR (SIGSEGV)

http://www.codechef.com/problems/SPOON/ I AM NOT ABLE TO LOCATE MY ERROR. I HAVE COMMENTED MY CODE TO HELP UNDERSTAND MY LOGIC. I HAVE OBSERVED THAT ON INCREASING THE SIZE OF MY ARRAY THE TIME AFTER WHICH RUNTIME ERROR IS COMING IS ALSO INCREASING SO I GUESS MY PROGRAM S GOING IN AN INFINITE LOOP HENCE GOING OUT OF BOUND BUT IT IS WORKING FINE IN CODE::BLOCKS

http://www.codechef.com/viewsolution/6591253

asked 29 Mar '15, 01:24

rishu97kr's gravatar image

2★rishu97kr
2528
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:

×2,738
×2,475
×1,918
×1,491
×545
×231

question asked: 29 Mar '15, 01:24

question was seen: 820 times

last updated: 29 Mar '15, 01:24