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

×

How to overcome TLE problem ? for https://www.codechef.com/LTIME64B/problems/CHEFRES

Here is my solution :

https://www.codechef.com/viewsolution/20403131

i think complexity of this solution is O(T*(nlogn+mlogn) , which should not exceed time limit of 1sec. but i am getting tle. HELP ME asap

asked 30 Sep '18, 15:33

geek07's gravatar image

3★geek07
31
accept rate: 0%


matka1.com
this solultion is matka| sattamatka| kalyan makta| open to close
link

answered 01 Oct '18, 01:15

matka1's gravatar image

0★matka1
16
accept rate: 100%

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:

×553

question asked: 30 Sep '18, 15:33

question was seen: 165 times

last updated: 01 Oct '18, 01:15