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

Автор ItsTHEAvro, 22 месяца назад, По-английски

Motivation:

Yesterday, I was trying to find out which problems my friend had solved that were rated 1600, but I couldn't find an easy and convenient way to do so. I also couldn't find any existing tools to help me. So, I've decided to build one myself.

Result:

This is what I've come up with:

You can try it out here: https://cfusersubmissions.vercel.app/

I would greatly appreciate it if you could take a moment to share your thoughts. Please leave a comment on this post and let me know what you think.

Полный текст и комментарии »

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

Автор ItsTHEAvro, 23 месяца назад, По-английски

Motivation:

I feel more motivated and competitive when I see my friends are also doing CP on Codeforces. But it's hard to check who is online or when they were online by going to each of my friend's profile. So I've written this userscript to show the last online status of my friends in the table in the My friends page.

Result:

Before
After

Usage

This userscript uses the Codeforces API to retrieve the last online time for each username in the friends list, and then calculates the elapsed time in years, months, weeks, days, and hours. As it repeats this process for every username in the friends list, there is some delay (~1 sec). I'm not quite sure how to fix that. If you have some ideas regarding this please feel free to share them with me. Also, please share your thoughts on this script. I'm interested in hearing your perspective.

Полный текст и комментарии »

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