Educational Codeforces Round 150 question C — help

Правка en1, от 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!

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский xtung 2024-12-29 21:13:52 421 Initial revision (published)