Rar the Cat was busy setting up student's problems that he accidentally forgot to save the problem statement of his own problem!
Furthermore, he does not have the time and effort to rewrite his own problem statement as the problems submitted contained numerous errors :P
However, he does still have a (poorly written) solution 'ans.cpp' and his testcases.
Given 'ans.cpp', your task is to solve this problem without the problem statement.
'ans.cpp' is given in the attachments.
Subtask | Score |
---|---|
1 | 100 |
2 | 0 |