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


JAN RANKA solution too long

I observed that people have made a text submission for this problem. I have figured out the solution, but my code is just slightly more than than 50000 Bytes for n=10000, hence it is exceeding the memory limit. I am just printing 10000 separate lines in my text file. Please tell is there any alternative to this.

Dont answer this question if it is against the codechef's code of conduct.

asked 09 Jan '15, 19:25

sanchitkashyap's gravatar image

accept rate: 20%

edited 12 Jan '15, 15:11

admin's gravatar image

0★admin ♦♦

well I figured it out myself. 10 question done! :)


answered 09 Jan '15, 19:37

sanchitkashyap's gravatar image

accept rate: 20%

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: 09 Jan '15, 19:25

question was seen: 1,769 times

last updated: 12 Jan '15, 15:11