When I use: puts("No solution"); my code give me AC.
But when I use cout << "No solution" << endl; (with and without endl or \n) my SAME code gives me Wrong Answer...




Code: Select all
Removed after AC
Code: Select all
Accepted
Code: Select all
Removed after AC
Code: Select all
ACCEPTED