We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
GCJ require to output number of each test, you can save it in a member variable of solver class and increase on each call to a solve() function.
solve()
class %ClassName% { public: int testNumber = 0; void solve(std::istream& in, std::ostream& out) { out << "Case #" << ++testNumber << ": "; } };
You may also leave this output commented out in the template so that it doesn't print anything by default