Блог пользователя FoxxKnight

Автор FoxxKnight, история, 3 года назад, По-английски

Hey fellow codeforcers, hope you're all doing great. In this post I would like to discuss about a weird issue that I have seen in the profile page, specifically the stats section.

In the above image A gives the number of problems solved in the past 30 days and not for the last month, similarly B gives the max streak in the last 30 days and not for the last month (I don't think this value can ever go over 30 or 31).

So what I propose is that A and B should be reworded to last 30 days instead of last month.

P.S If you think I've made any mistake do share it in the comments.

UPD HIghlighted the part in the screenshot that matches the stats shown.

  • Проголосовать: нравится
  • +5
  • Проголосовать: не нравится

»
3 года назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

What I've found is that it basically considers the number of days in the previous month.

Present Date: 11 July. Previous Month: June Number of Days (Previous Month): 30 So, the 'last month' here refers to the last 30 days.

But if we take another case- Date: March 3 Previous Month: February Number of Days (Previous Month): 29/28 So, the 'last month' here would refer to the last 28/29 days.

Also, in case the date is the actual last date of the month, I think in that case, last month refers to the entirety of the running month. For ex.- Date: 29 February Previous Month: January Number of Days (Previous Month): 31 But, here, 'last month' would refer to February, and would consider the last 29 days.

  • »
    »
    3 года назад, # ^ |
    Rev. 2   Проголосовать: нравится 0 Проголосовать: не нравится

    I came to the above conclusions by noticing the variation in number of days in a row (for the last month), and noticing the shifts from 30 to 31 and vice versa