Educational Codeforces Round 150 question C — help

Revision en1, by xtung, 2024-12-29 21:13:52

Could someone help me understand why this submission is incorrect? The outputs from the custom invocation (which I believe are correct) differ from the ones produced by the evaluator. I initially suspected an overflow, but I can't seem to identify where it might be occurring. Any insights would be appreciated!

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English xtung 2024-12-29 21:13:52 421 Initial revision (published)