In problem http://codeforces.net/contest/296/problem/C I try to create a test for hacking, but I get error "Invalid input". I don't know why my code get this error. Please help me, here's my code:
int main() {
cout << "100000 100000 100000\n";
for (int i = 0; i < 100000; i++) {
if (i)
cout << " ";
cout << "100000";
}
cout << "\n";
for (int i = 0; i < 100000; i++) {
if (i)
cout << "\n";
cout << "1 100000 100000";
}
cout << "\n";
for (int i = 0; i < 100000; i++) {
if (i)
cout << "\n";
cout << "1 100000";
}
cout << "\n";
}