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

Правка en3, от hatim009, 2017-06-22 10:21:35

149C - Division into Teams

Hi,

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

python code

C++ code

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

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en4 Английский hatim009 2017-06-25 19:52:52 25
en3 Английский hatim009 2017-06-22 10:21:35 65
en2 Английский hatim009 2017-06-22 09:35:59 231
en1 Английский hatim009 2017-06-22 08:01:31 189 Initial revision (published)