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?
Upd: It is said that __int128_t
can not be the index of array. It may cause wrong answer. So it is always not a good idea to use things like #define int __int128_t
.