-
Notifications
You must be signed in to change notification settings - Fork 1
/
popincc.c
executable file
·35 lines (35 loc) · 1.32 KB
/
popincc.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#include <stdio.h>
#include <stdint.h>
int main() {
uint64_t r;
for (uint64_t i = 0; i < 1048576; ++i) {
uint64_t z = 0;
uint64_t y = 64;
uint64_t x = 0;
x += y; x += y; x += y; x += y; x += y; x += y; x += y; x += y;
x += y; x += y; x += y; x += y; x += y; x += y; x += y; x += y;
x = z;
x += y; x += y; x += y; x += y; x += y; x += y; x += y; x += y;
x += y; x += y; x += y; x += y; x += y; x += y; x += y; x += y;
x = z;
x += y; x += y; x += y; x += y; x += y; x += y; x += y; x += y;
x += y; x += y; x += y; x += y; x += y; x += y; x += y; x += y;
x = z;
x += y; x += y; x += y; x += y; x += y; x += y; x += y; x += y;
x += y; x += y; x += y; x += y; x += y; x += y; x += y; x += y;
x = z;
x += y; x += y; x += y; x += y; x += y; x += y; x += y; x += y;
x += y; x += y; x += y; x += y; x += y; x += y; x += y; x += y;
x = z;
x += y; x += y; x += y; x += y; x += y; x += y; x += y; x += y;
x += y; x += y; x += y; x += y; x += y; x += y; x += y; x += y;
x = z;
x += y; x += y; x += y; x += y; x += y; x += y; x += y; x += y;
x += y; x += y; x += y; x += y; x += y; x += y; x += y; x += y;
x = z;
x += y; x += y; x += y; x += y; x += y; x += y; x += y; x += y;
x += y; x += y; x += y; x += y; x += y; x += y; x += y; x += y;
r = x;
}
printf(r == 1024 ? "success\n" : "failure\n");
}