#include #include #include char buf[100010]; std::string me, input; int main() { auto quine = "#include %c#include %c#include %c%cchar buf[100010];%cstd::string me, input;%c%cint main() {%c auto quine = %c%s%c;%c sprintf(buf, quine, 10, 10, 10, 10, 10, 10, 10, 10, 34, quine, 34, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10);%c me = buf;%c for (int i = 0; i < 24; ++i) {%c fgets(buf, sizeof(buf), stdin);%c input += buf;%c }%c for (int x = 0; x < (int)me.size() && x < (int)input.size(); ++x) {%c if (me[x] != input[x]) {%c std::cout << x << (char)10;%c std::cout << (char)34 << me[x] << (char)34 << (char)10;%c std::cout << (char)34 << input[x] << (char)34 << (char)10;%c }%c }%c return 0;%c}%c"; sprintf(buf, quine, 10, 10, 10, 10, 10, 10, 10, 10, 34, quine, 34, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10); me = buf; for (int i = 0; i < 24; ++i) { fgets(buf, sizeof(buf), stdin); input += buf; } if (input[1] != 105) for (; ; ) {} for (int x = 0; x < (int)me.size() && x < (int)input.size(); ++x) { if (me[x] != input[x]) { std::cout << x << (char)10; std::cout << (char)34 << me[x] << (char)34 << (char)10; std::cout << (char)34 << input[x] << (char)34 << (char)10; } } return 0; }