abcsumits's blog

By abcsumits, 2 months ago,

Sometimes due to hard problem A , number of participants get reduced which effect the rating change of every user,also some of my friend starts contest with problem d, if they crack it they do submissions, else they don't ,this should also be count as participation as only their best is getting counted.

• -45

By abcsumits, history, 8 months ago,

Want to find ways to practice that help in fast improvement, Please suggest me. I can give 10 hours a day, Also if I increase difficulty problems takes a lot of time to solve, so I should practice till I am fast at that rating or waste more time by increasing difficulty.

• -15

By abcsumits, history, 8 months ago,

I request everyone,to bully me until I became master.This will always remind me my goal and will keep me motivated, I am too weak now, but I want to be strong

• -27

By abcsumits, 9 months ago,

I need number of questions solved by a user and current cf rank but its missing, also number of active users. Can plz someone suggest me something .

• 0

By abcsumits, history, 10 months ago,

I have to find min value of [a/x]+[b/x]+x-1 ,where x belongs to (1,10^9) ,here [] denotes ceil value. I then observed it is monotonic in nature. Its graph will be like

The only problem i am having is to find slope(from slope i meant if every step is assumed as points ,this will help me to shift l and r) and slope can be find by use of its previous neighbour points to find neighbour of y=f(x),we need to find length of y so for given y=[a/x]+[b/x]+x-1 i need the range of the solution

• +2

By abcsumits, 12 months ago,

These are some files that will help out in fast i/o, improving recursions, sorted lists,wrap function for collisions in dict and some pre written code that takes time to write. Here is the github link , I will update it with time.

• +17

By abcsumits, history, 17 months ago,

python doesn't have any library for ordered map and ordered set. We can install sortedContainers module in our pc for that. Please include this module. It would be very helpful for all who code in python.

MikeMirzayanov

• +2

By abcsumits, history, 17 months ago,

I have been searching for ordered map and orderedset in python , but i didn't got anything other than ordered dictionary, if any one have idea about it please help me. Thanks in advance:)

• +11

By abcsumits, history, 2 years ago,

(huge difference refer to the following submission)

160762368 — accepted (str)

160761953 — tle (int)

both solution are same the only difference is the key in first is string and in 2nd the key is int which is causing tle .....

• 0

By abcsumits, history, 2 years ago,

i have submitted the code in contest and it was accepted(even the solution was not hacked) and when i submitted the same code in pypy3 it was accepted.Then i saw others solution i found that everyone was having same complexity as me and submitted in python 3 only and their solution was accepted. question- https://codeforces.com/contest/1675/problem/B my contest submition — https://codeforces.com/contest/1675/submission/155950529 my pypy3 submition- https://codeforces.com/contest/1675/submission/156065421 a correct submition for referrence- https://codeforces.com/contest/1675/submission/156006177

• +4