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 | #include <iostream> using namespace std; struct jerkface { const jerkface &operator()(const jerkface &) const { return *this; } friend istream &operator>>(istream &is, jerkface &) { return is; } friend ostream &operator<<(ostream &os, const jerkface &) { return os; } }; int main() { jerkface rhubarb; cin >> rhubarb; rhubarb = rhubarb( rhubarb ); cout << rhubarb; } |
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKc3RydWN0IGplcmtmYWNlCnsKICAgIGNvbnN0IGplcmtmYWNlICZvcGVyYXRvcigpKGNvbnN0IGplcmtmYWNlICYpIGNvbnN0CiAgICB7CiAgICAgICAgcmV0dXJuICp0aGlzOwogICAgfQogICAgZnJpZW5kIGlzdHJlYW0gJm9wZXJhdG9yPj4oaXN0cmVhbSAmaXMsIGplcmtmYWNlICYpCiAgICB7CiAgICAgICAgcmV0dXJuIGlzOwogICAgfQogICAgZnJpZW5kIG9zdHJlYW0gJm9wZXJhdG9yPDwob3N0cmVhbSAmb3MsIGNvbnN0IGplcmtmYWNlICYpCiAgICB7CiAgICAgICAgcmV0dXJuIG9zOwogICAgfQp9OwoKaW50IG1haW4oKQp7CiAgICBqZXJrZmFjZSByaHViYXJiOwogICAgY2luID4+IHJodWJhcmI7CiAgICByaHViYXJiID0gcmh1YmFyYiggcmh1YmFyYiApOwogICAgY291dCA8PCByaHViYXJiOwp9
-
upload with new input
-
result: Success time: 0.02s memory: 2676 kB returned value: 0


