WrongAnswerOnTest1's blog

By WrongAnswerOnTest1, 3 months ago, In English,

Hi, Can anyone list all fenwick tree problems from particularly codeforces upto 2000 rating. Thanks.

Read more »

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

By WrongAnswerOnTest1, 3 months ago, In English,

Hi, Can anyone list all fenwick tree problems on particularly codeforces upto 2000 rating ? Thanks.

Read more »

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

By WrongAnswerOnTest1, history, 3 months ago, In English,

Is something wrong with the queue?

Read more »

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

By WrongAnswerOnTest1, history, 6 months ago, In English,

Hello guys!

In yesterday's round Codeforces Round #617 (Div. 3), in question 1296C - Yet Another Walking Robot, I submitted this solution using map which took 61ms to pass: 70273184. Today, I thought of submitting the same solution using unordered map, which I later found out doesn't have a hash function for pairs, so I copied the hash function from GeeksForGeeks and then submitted the solution which took 187ms to pass: 70355416.

Can somebody tell me why is unordered map working slower than map for this problem ?

Thanks.

Read more »

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