Error gives in codeforces compiler but in vscode gives answer in same condition

Правка en2, от Codersaurus, 2022-11-23 19:32:20

Hello friends, I'm newbie to codeforces and these problems by using c language.and When I submit my code It always says that "Wrong answer on test 1". But when I run my code on vscode succesfully and it gives correct output in A. Helpful Maths problem. And this is my code. It's little bit lenthy. But it works correctly.I don't why i'm getting that error. This link helps you to go my answer

Теги #greedy, #strings, #sortings, #implementation, #newbie

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский Codersaurus 2022-11-23 19:32:20 1018
en1 Английский Codersaurus 2022-11-23 19:14:24 1554 Initial revision (published)