Feel free to share some of your best solved problems that you felt interesting to solve or taught you something new in range of 1800-2200.
# | User | Rating |
---|---|---|
1 | tourist | 3993 |
2 | jiangly | 3743 |
3 | orzdevinwang | 3707 |
4 | Radewoosh | 3627 |
5 | jqdai0815 | 3620 |
6 | Benq | 3564 |
7 | Kevin114514 | 3443 |
8 | ksun48 | 3434 |
9 | Rewinding | 3397 |
10 | Um_nik | 3396 |
# | User | Contrib. |
---|---|---|
1 | cry | 167 |
2 | Um_nik | 163 |
3 | maomao90 | 162 |
3 | atcoder_official | 162 |
5 | adamant | 159 |
6 | -is-this-fft- | 158 |
7 | awoo | 156 |
8 | TheScrasse | 154 |
9 | Dominater069 | 153 |
10 | nor | 152 |
Feel free to share some of your best solved problems that you felt interesting to solve or taught you something new in range of 1800-2200.
Name |
---|
I liked this problem although it is kind of classical but good to solve https://codeforces.net/contest/1155/problem/D
Hey, thanks! Will give it a shot.
2036F - XORificator 3000. Easy to think of the approach until you realize
that you were using a wrong datatype and long long won't pass. Gotta use unsigned int 64 for this one. Just changed the data type to get it passed. This problem is 1900 because everyone would have tried long long and failed. I still didn't figure out why long long is wrong for this one because it gives WA even for lower values but after this I started using unit_64 for all bitmask problems and problems where negative numbers aren't in input. If you do figure out why long long is failing even for lower values do tell me too!
long long works , just use (1ll<<i) instead of (1<<i) i guess
Just submitted the editorial code replacing #define int unit64_t with #define int long long and it gave WA on 1. 293274046
Replace (1<<i) with (1ll<<i) and try
In this editorial solution it does not work i guess, because it is using the properties of unsigned for shifting (maybe because test case 1 is wrong even though no overflow), but you need not use unsigned integers just do normally and take care if the value goes negative somewhere
Can you elaborate a little more about those properties like what makes it different from long long? I thought the only difference between these two is the range of numbers they store.
https://codeforces.net/problemset/problem/461/B