Python 3 submission passed but pypy submission does not
Разница между en1 и en2, 1 символ(ов) изменены
Hello codeforces, ↵

Recently I was practicing 1800 rated problems and I came across this [latter picking](https://mirror.codeforces.com/contest/1728/problem/D) problem. I implemented O(n ** 2) solution and submitted in pypy. here is the link to the submission ([pypy submission](https://mirror.codeforces.com/contest/1728/submission/262363309)) But it got tle at test 5. I was very confused why this is happening as the n for this problem is 2000. ↵

I changed the interpreter to python 3 and submitted the solution and it gets passed.↵

Can anybody tell me what is the potential problem
s here? ↵

here is the python3 submission ([python 3 submission](https://mirror.codeforces.com/contest/1728/submission/262363070)).↵

both submissions are identical but I got tle on pypy submission. 

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский khan_ali 2024-05-25 07:09:51 1 Tiny change: 'al problems here? \n\' -> 'al problem here? \n\'
en1 Английский khan_ali 2024-05-24 13:00:30 826 Initial revision (published)