******************************* *** The hack uses generator *** ******************************* ** Command line arguments ** no arguments ** Generated test ** 100000 11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111... ** Generator source ** #include using namespace std; int main() { cout << 1e5 << endl; for(int it = 0; it < 2; it++) { for(int i = 0; i < 1e5; i++) { if(i < 4e5) { cout << '1'; } else { cout << '2'; } } cout << endl; } return 0; }