Same code in C++ gave wrong answer while in python got accepted

Revision en1, by hatim009, 2017-06-22 08:01:31

Hi,

Problem — http://mirror.codeforces.com/contest/149/problem/C

My solution in C++ was giving WA while in python got AC.

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en4 English hatim009 2017-06-25 19:52:52 25
en3 English hatim009 2017-06-22 10:21:35 65
en2 English hatim009 2017-06-22 09:35:59 231
en1 English hatim009 2017-06-22 08:01:31 189 Initial revision (published)