|
+8
Second question can be solved with help of DSU. As we can visit any vertex multiple times, so if the OR of whole component will be < w then the answer will be NO. Also problem statement was not correct, it should be greater than or equal to w to pass all the testcases. |
|
+1
Hint for C I wasted my 30 minutes in thinking this logic. Could have googled it early and got a decent rank! |
|
+34
Imagine the amount of money SecondThread will earn by selling this t-shirt in pawn shop in Vegas in the year 2040!! |
|
+15
When will be July Lunchtime prizes distributed ? |
|
+5
According to this Anton birth year is 2021 !! |
|
-12
Contest link ? |
|
0
199 it is!! |
|
+5
What was the mistake(in constraints) in B ? |