Comments
+13

Can't agree more. Was this mathematics exam?

+7

Coming back to participate after 5 July'19.

Wrong answer on test 99. Such pain in F

Hints for F please.

On scanhex → Codeforces Round #534, 8 years ago
0

I used the same logic. I think I made a mistake in implementation.

On scanhex → Codeforces Round #534, 8 years ago
0

I couldn't pass pretest. I used the graph of x mod a. start with x = 1. x = 1, y =2. check if and y lie on the same bar i.e. x and y are less than a. keep doing this with x = 2, y = 4 then x = 4, y = 8... . The moment y reaches next bar, there are only two possible conditions: x%a = y%a or x%a > y%a ( I'm not sure about this one. I used graph to get this). In second case, if you go from x to y, then X%a first increases, becomes 0, again starts increasing. So apply binary search in this region to get the value at which X % a is 0 and this value of X is ans as you are at end of first bar. In first case, ans will be y — x. I don't know what's the mistake in it.

On 300iq → Codeforces Round #530, 8 years ago
0

Did it get resolved?

On 300iq → Codeforces Round #530, 8 years ago
0

Is it only me or somebody else also who was expecting a higher rating change? Rating Predictor is showing +162 but I got just +73 whereas my friends' ratings changed as per shown in rating predictor.

Is it just me or nobody is able to see the problems ?

On albertg → Codeforces round #382, 10 years ago
+109

Is it fair to repeat your already existing problems? albertg

http://www.spoj.com/problems/TENNIS1/