Created
November 7, 2015 06:10
-
-
Save tudalex/8b6cb1899f9ccec733d6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
int main() { | |
int t = 1; | |
for (size_t i = 0; i < 64; ++i) { | |
printf("%u %d %lld\n", i, 1<<i, (long long unsigned) 1<<i); | |
} | |
return 0; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0 1 1 | |
1 2 2 | |
2 4 4 | |
3 8 8 | |
4 16 16 | |
5 32 32 | |
6 64 64 | |
7 128 128 | |
8 256 256 | |
9 512 512 | |
10 1024 1024 | |
11 2048 2048 | |
12 4096 4096 | |
13 8192 8192 | |
14 16384 16384 | |
15 32768 32768 | |
16 65536 65536 | |
17 131072 131072 | |
18 262144 262144 | |
19 524288 524288 | |
20 1048576 1048576 | |
21 2097152 2097152 | |
22 4194304 4194304 | |
23 8388608 8388608 | |
24 16777216 16777216 | |
25 33554432 33554432 | |
26 67108864 67108864 | |
27 134217728 134217728 | |
28 268435456 268435456 | |
29 536870912 536870912 | |
30 1073741824 1073741824 | |
31 2147483648 2147483648 | |
32 1 4294967296 | |
33 2 8589934592 | |
34 4 17179869184 | |
35 8 34359738368 | |
36 16 68719476736 | |
37 32 137438953472 | |
38 64 274877906944 | |
39 128 549755813888 | |
40 256 1099511627776 | |
41 512 2199023255552 | |
42 1024 4398046511104 | |
43 2048 8796093022208 | |
44 4096 17592186044416 | |
45 8192 35184372088832 | |
46 16384 70368744177664 | |
47 32768 140737488355328 | |
48 65536 281474976710656 | |
49 131072 562949953421312 | |
50 262144 1125899906842624 | |
51 524288 2251799813685248 | |
52 1048576 4503599627370496 | |
53 2097152 9007199254740992 | |
54 4194304 18014398509481984 | |
55 8388608 36028797018963968 | |
56 16777216 72057594037927936 | |
57 33554432 144115188075855872 | |
58 67108864 288230376151711744 | |
59 134217728 576460752303423488 | |
60 268435456 1152921504606846976 | |
61 536870912 2305843009213693952 | |
62 1073741824 4611686018427387904 | |
63 2147483648 -9223372036854775808 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment