Problem in getting correct answer.

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

Теги brute force, #constructive algorithms, #greedy, #math, *1600

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский ronak037 2020-04-14 21:33:38 529 Initial revision (published)