[ create a new paste ] login | about

Link: http://codepad.org/YhyGleQn    [ raw code | output | fork ]

C++, pasted on Nov 1:
1
2
3
4
5
6
7
8
9
int main() {
 int i = 0x80000000;
 int j = -i;

 if (i >= 0) exit(0);
 if (j >=0) exit(0);

 cout<<"I win!";
}


Output:
1
I win!


Create a new paste based on this one


Comments: