ShaFeiii's blog

By ShaFeiii, history, 3 weeks ago, In English

When I tried to upsolve this problem 706B - Interesting drink I faced an undefined time limit!!

In my first approach, I solved it using a multiset and upperbound 294508423 I got time limit on test 11

then, tried to solve with vector and sorting, which got accepted 294508512

Can anyone help me understand what the issue was?

Full text and comments »

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

By ShaFeiii, history, 3 months ago, In English

Why are all the cool competitive programmers, like grandmasters and masters, fans of anime?

Full text and comments »

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