Created
January 7, 2018 07:14
-
-
Save sasha-s/46048e5ccc1ed08916545864ce2a1611 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 <iostream> | |
using namespace std; | |
void operator"" _x(decltype(0ull)) { | |
try { | |
cout << 1001 - (cin.iword(0)-- + 1000 ?: (throw(""), 7)) << " "; | |
} catch (...) { | |
return; } 0_x; cerr << 1004 - clog.xalloc() << " "; | |
} | |
0_x; | |
cerr << 999 + 2 + --errno << " "; | |
} | |
int main() { 1_x; } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment