abcsumits's blog

By abcsumits, 6 months ago, In English

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.

Full text and comments »

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

By abcsumits, history, 12 months ago, In English

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.

Full text and comments »

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

By abcsumits, history, 12 months ago, In English

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

Full text and comments »

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

By abcsumits, 14 months ago, In English

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 .

Full text and comments »

  • Vote: I like it
  • 0
  • Vote: I do not like it

By abcsumits, history, 15 months ago, In English

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

Full text and comments »

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

By abcsumits, 17 months ago, In English

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.

Full text and comments »

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

By abcsumits, history, 22 months ago, In English

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

Full text and comments »

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

By abcsumits, history, 22 months ago, In English

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:)

Full text and comments »

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

By abcsumits, history, 2 years ago, In English

(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 .....

Full text and comments »

  • Vote: I like it
  • 0
  • Vote: I do not like it

By abcsumits, history, 3 years ago, In English

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.me/contest/1675/problem/B my contest submition — https://codeforces.me/contest/1675/submission/155950529 my pypy3 submition- https://codeforces.me/contest/1675/submission/156065421 a correct submition for referrence- https://codeforces.me/contest/1675/submission/156006177

Full text and comments »

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