Hello ,can any one help me to solve this problem ?
Hello ,can any one help me to solve this problem ?
# | User | Rating |
---|---|---|
1 | ecnerwala | 3648 |
2 | Benq | 3580 |
3 | orzdevinwang | 3570 |
4 | cnnfls_csy | 3569 |
5 | Geothermal | 3568 |
6 | tourist | 3565 |
7 | maroonrk | 3530 |
8 | Radewoosh | 3520 |
9 | Um_nik | 3481 |
10 | jiangly | 3467 |
# | User | Contrib. |
---|---|---|
1 | maomao90 | 174 |
2 | awoo | 164 |
2 | adamant | 164 |
4 | TheScrasse | 159 |
4 | nor | 159 |
6 | maroonrk | 156 |
7 | -is-this-fft- | 150 |
8 | SecondThread | 147 |
9 | orz | 146 |
10 | pajenegod | 145 |
Name |
---|
It will be solved with two pointers :)
Seems like this problem is stolen
Yes, I entered ACPC kick off most of the problems were very unoriginal. I didn't like the contest anyways from its bad statements quality and no new ideas I found in it. I wasted an hour for 2 problems having unclear statements. 1 of them not saying the amount of testcases(or the limit of N all over testcases) and the other having just trash statement. I could've solved 10/11 out of 12 with that hour but I only solved 9 :/
I read those two statmentes for 10 times trying to find any difference between them in the end they meant the same thing • Any two numbers with the same number of ones in their binary representation are in the same subset. • No two numbers with different number of ones in their binary representation are in the same subset
{ 1 , 1 , 3 , 3 } this set satisfies the first condition but not the second one.