Comments
On vidit_123GCD Queries, 9 years ago
0

How would you perform binary search in [L,R] to count no of positions?

On dead_lockLong queues, 10 years ago
0

Queue for practice section takes very long time , but for virtual contest , it was normal. I just did it. I think they are focusing on contests more for their smoothness. And Queue got larger. Waiting....... from last half hour for single submission.

ok understood it. That really made the whole question. Thanks bro.

can someone explain last line for f. with example? why orient (v,to) to (to,v)?

0

what does map<> h stores? count of occurrences of colors?

On vovuhCodeforces Round #374 (Div. 2), 10 years ago
+2

And different ways to solve this problem please. I understood the way using dp as suggested by Pixar using dfs and dp using pathLength. What are other ways to solve problem. Full discription please.

On vovuhCodeforces Round #374 (Div. 2), 10 years ago
0

Can anyone give detailed solution for problem C,Div 2

On zscoderCodeforces Round #372, 10 years ago
0

What is correct answer for test case #44 for problem B. Is it -1.

is it rated?