Пожалуйста, прочтите новое правило об ограничении использования AI-инструментов. ×

Strange behavior of Codeforces API

Правка en1, от TooDumbToWin, 2016-06-08 23:49:53

Hello Codeforces!

I noticed a Python script on github a few days back to email me when the ratings are updated just after a round (here). It just used to store rating before rating updation and check continuously if it has changed. It had an obvious bug. If there is no rating change after contest, it'll keep running.

So, it was changed and the number of contests was used to check if there has been any extra round with participation.

The idea is perfect but there is some bug due to which the newRating in latest contest is returned same as oldRating. Although after some time, it changes to actual new rating.

Email Screenshots:

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский TooDumbToWin 2016-06-08 23:49:53 841 Initial revision (published)