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


Enormous input runtime error

This is link to solution!!It compiles fine in my compiler but fails in codechef compiler!!!!

asked 06 Jul '17, 08:00

hari123_'s gravatar image

accept rate: 0%

Increase your array size first. Why is it only upto 30 when number of elements can be till 10^7?

Also, you dont need to verify n and k, they will be according to constraints


answered 06 Jul '17, 08:47

vijju123's gravatar image

5★vijju123 ♦♦
accept rate: 18%

toggle preview

Follow this question

By Email:

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



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "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:


question asked: 06 Jul '17, 08:00

question was seen: 186 times

last updated: 06 Jul '17, 08:47