Skip to content

Instantly share code, notes, and snippets.

View puzzle2.cc
#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;
View puzzle.cc
include <iostream>
using namespace std;
void operator"" _y(decltype(0ull)) {
if (++errno == 501) {
return;
}
cout << ++cin.iword(99) << " ";
0_y;
cerr << 500 - (*reinterpret_cast<uint32_t*>(&clog.pword(100)))++ << " ";
@sasha-s
sasha-s / keybase.md
Created Jul 29, 2016
keybase proof of identity
View keybase.md

Keybase proof

I hereby claim:

  • I am sasha-s on github.
  • I am sashas (https://keybase.io/sashas) on keybase.
  • I have a public key ASC5S5Havu8xI4rtDuAWxGsjOqHv3HPsYp0jDWMkybUfwQo

To claim this, I am signing this object: