some systems, they are the same.
The size depends on your system/compiler.
int is at least 16 bits.
long is at least 32 bits.
long long is at least 64 bits.
On gcc you can include <cstdint> and try __int128_t or __uint128_t.
I don't think cout knows how to output them, though, so you may have to write your own output routine.
Last edited on