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

Revision en2, by hatim009, 2017-06-22 09:35:59

149C - Division into Teams

Hi,

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

python code

C++ code

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)