4

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

 1 year ago
source link: https://codeforces.com/blog/entry/109374?f0a28=1
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

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


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK