Why is it giving wrong answer? Any corner test case

Revision en1, by krish2004, 2024-07-24 07:19:23

For this question https://mirror.codeforces.com/contest/1995/problem/C,

why is my code giving wrong answer? 272246600

Tags greedy, brute force, math

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English krish2004 2024-07-24 07:19:23 178 Initial revision (published)