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

×

Can a TLE in java be AC in C++ ?

Can a solution with TLE in java be AC in C++ with same logic.

asked 10 Jul '14, 22:02

kunal27891's gravatar image

2★kunal27891
173268
accept rate: 12%


Such cases very rarely it happens (when your solution is at the boundary of time limit). But always there exist a proper solution which runs well in time for any language, so if you get a TLE, its good to think that there exist a better solution then the one getting TLE.

link
This answer is marked "community wiki".

answered 10 Jul '14, 22:51

hkbharath's gravatar image

3★hkbharath
1492714
accept rate: 9%

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,911
×1,302
×720

question asked: 10 Jul '14, 22:02

question was seen: 1,204 times

last updated: 10 Jul '14, 22:51