tan_delhi's blog

By tan_delhi, history, 22 months ago, In English

Recently the Educational round 144 , Python Code for D question that used iterative approach Dynamic programming resulted in TLE.

However C++ code for the same passed in 170 ms

Python Code — https://p.ip.fi/hwgL C++ Code — https://p.ip.fi/Jsdm

vovuh , adedalic, please look into the matter.

This is probably the 3rd or 4th-time python gave TLE but C++ did not. Why at all keep python a language option if not tested properly

Full text and comments »

  • Vote: I like it
  • +9
  • Vote: I do not like it

By tan_delhi, history, 2 years ago, In English

A few contestants might have noticed that due to time limit of 1 second for questions in previous contests , python coders are facing TLE's. For e.g. in yesterday's contest C question

Python Code — https://p.ip.fi/y0K_ C++ Code — https://p.ip.fi/FAoW the first one TLEd , however 2nd passed in 100 ms. Case for ek3ru8m4 as well. Gheal kindly look at this

PS — I hope the issue is genuine and shall be well received.

Full text and comments »

  • Vote: I like it
  • +4
  • Vote: I do not like it

By tan_delhi, history, 3 years ago, In English

i used simple sorting and it TLE'd on test case 18
Is it not allowed to write code in python , and not just me a lot of participants ( even the orange coders like tamato

I request for retesting of that question with updated time limit.

(P.S. , i hope i am not downvoted !! )

Full text and comments »

  • Vote: I like it
  • +24
  • Vote: I do not like it

By tan_delhi, history, 4 years ago, In English

Nowadays , most of the contests are of length 2:15 or 2:30. With the new div1 + div2 rounds , the length is going beyond 2:30 to 3hrs. With such long length contests , it is only opening paths to cheating in the contests. I hope we restore back to normal 2 hour contests.

Full text and comments »

  • Vote: I like it
  • -34
  • Vote: I do not like it

By tan_delhi, history, 4 years ago, In English

Even using a hell lot of things , removing maps , and writing a code in O(n) ,etc I am getting tle , in this question https://codeforces.net/contest/1027/problem/C The code is —

https://p.ip.fi/f5fo

Full text and comments »

  • Vote: I like it
  • -1
  • Vote: I do not like it

By tan_delhi, history, 4 years ago, In English

Hi ! can someone share some questions on binary search trees available on codeforces ?

Full text and comments »

  • Vote: I like it
  • -3
  • Vote: I do not like it