Problem in getting correct answer.

Revision en1, by ronak037, 2020-04-14 21:33:38

Question link: https://codeforces.com/contest/1334/problem/C.

I will attach my code further, in that in 3rd test case my answer coming incorrect but when I compiling same testcase in my VSCode then I get the correct results and I don't know why it is happening so please anyone helps me to resolve this. Thank You

Code link: https://codeforces.com/contest/1334/submission/76727603

Tags brute force, #constructive algorithms, #greedy, #math, *1600

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English ronak037 2020-04-14 21:33:38 529 Initial revision (published)