#include <bits/stdc++.h>using namespace std; int main() { long long a=0; for(int i=0; i<1e9; ++i) a+=i^1; cout << a;}
Standard input is empty
499999999500000000
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!