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

×

result - TLE

in program calculator,subtask 2 it is showing result tle and when i run that same program in my compiler it is taking less 0.20 sec .So what can i do to get my subtask 2 correct ?

asked 17 Jul '17, 09:26

gsumit932's gravatar image

1★gsumit932
0
accept rate: 0%


try to reduce the complexity of your code

link

answered 17 Jul '17, 09:32

kunal12's gravatar image

3★kunal12
445
accept rate: 0%

i tried my level best and most complex part is a for loop inside a if statement. how simple can i make it now.

(17 Jul '17, 10:53) gsumit9321★
1

More simpler. I will explain once the contest is over.

(17 Jul '17, 11:54) vijju123 ♦♦5★
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:

×729

question asked: 17 Jul '17, 09:26

question was seen: 324 times

last updated: 17 Jul '17, 11:54