I was solving problem F of ABC just now. And I got passed with long long
, but when I change the type into __int128_t
, it got wrong answer in most of the cases. Why is that?
# | User | Rating |
---|---|---|
1 | tourist | 4009 |
2 | jiangly | 3823 |
3 | Benq | 3738 |
4 | Radewoosh | 3633 |
5 | jqdai0815 | 3620 |
6 | orzdevinwang | 3529 |
7 | ecnerwala | 3446 |
8 | Um_nik | 3396 |
9 | ksun48 | 3390 |
10 | gamegame | 3386 |
# | User | Contrib. |
---|---|---|
1 | cry | 166 |
2 | maomao90 | 163 |
2 | Um_nik | 163 |
4 | atcoder_official | 161 |
5 | adamant | 160 |
6 | -is-this-fft- | 158 |
7 | awoo | 157 |
8 | TheScrasse | 154 |
9 | nor | 153 |
9 | Dominater069 | 153 |
What happened with __int128_t?
I was solving problem F of ABC just now. And I got passed with long long
, but when I change the type into __int128_t
, it got wrong answer in most of the cases. Why is that?
Rev. | Lang. | By | When | Δ | Comment | |
---|---|---|---|---|---|---|
en6 | 0x0002 | 2024-06-10 13:36:14 | 18 | |||
en5 | 0x0002 | 2024-06-10 09:01:19 | 226 | |||
en4 | 0x0002 | 2024-06-09 17:32:32 | 77 | |||
en3 | 0x0002 | 2024-06-09 14:50:40 | 4 | Tiny change: 'aid that `int128` can not ' -> 'aid that `__int128_t` can not ' | ||
en2 | 0x0002 | 2024-06-09 06:49:47 | 91 | |||
en1 | 0x0002 | 2024-06-08 17:08:35 | 379 | Initial revision (published) |
Name |
---|