Logic is ok but answer differs by few numbers from expected answer.

Revision en1, by imtinanjibon, 2020-05-29 13:39:46

I am trying to solve 478B - Random Teams . And here is my submission 81868059 . Logic is good but still gives wrong answer in 12th test case. before 12th case there was large integer input but answer was good. I have failed to understand whats wrong with this. How should i fix this?

Tags #logic, #basic math

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English imtinanjibon 2020-05-29 13:39:46 358 Initial revision (published)