Strange Behavior on atcoder

Revision en1, by fuck_rating, 2024-03-25 19:44:20

i was solving a problem on atcoder and my submission is giving WA

although my solution is giving correct output on my computer. strange thing is that it is giving wrong answer even on sample test cases which are surely correct. can anyone mention the reason or any issue from my side

submission link — https://atcoder.jp/contests/abc194/submissions/51686326

input tc link — https://www.dropbox.com/sh/nx3tnilzqz7df8a/AADjf_qIms_cFXcQMAhArzKma/ABC194/E/in?dl=0

correct output link — https://www.dropbox.com/sh/nx3tnilzqz7df8a/AABQc4d2ofLTo0bmoMNq75C5a/ABC194/E/out?dl=0

Tags atcoder, wa

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English fuck_rating 2024-03-25 19:44:20 632 Initial revision (published)