Same code in C++ gave wrong answer while in python got accepted
Difference between en2 and en3, changed 65 character(s)
[problem:149C]↵

Hi,↵

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

[python code] (http://mirror.codeforces.com/contest/149/submission/27957199)↵

[C++ code](http://mirror.codeforces.com/contest/149/submission/27956735)


In case you are down voting, please tell the reason as well. 

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)