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

×

Getting runtine error

http://ideone.com/hN9bX7 When i run the above code i on ideone.com, i get a runtime error. Can anyone tell me what's wrong with the code?

asked 24 Mar '15, 13:49

tejas3093's gravatar image

2★tejas3093
133
accept rate: 0%


in the for loop where u take input for array put scanf("%d",&arr[i]) u are missing &

link

answered 24 Mar '15, 14:42

sharru05's gravatar image

3★sharru05
5591723
accept rate: 14%

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,718
×532
×193

question asked: 24 Mar '15, 13:49

question was seen: 1,045 times

last updated: 24 Mar '15, 14:42