zeulb's blog

By zeulb, 7 years ago, In English

Hi there !

I just recently learned web programming after few years of competitive programming, so I decided to improve my experience by creating a website using Codeforces API

I want to share it with codeforces community, so here it is Codeforces Standings+, it's not really a "+" since there's some missing feature, but I'm running out of ideas what to name it :p

Here's some overview of the extra feature :

  • Filter by Country (put "Global" for all contestant standings and put "Friend" for friend only standings)
  • Expected ranking (Seed) based on your rating (this is not the actual seed, it's just an estimate how you do in the contest)
  • Sort by Country, Handle, Rating, or Hack
  • Highlight first solve for each problem
  • Auto 15 seconds AJAX refresh on ongoing contest

Unfortunately it's a bit slow since I can only send around 300 handles on each user.info request.

Feel free to look at my ultra messy code (Credit to competitive programming :p) at my github and give me some suggestion, critic, or requested feature.

 
 
 
 
  • Vote: I like it
  • +114
  • Vote: I do not like it

»
7 years ago, # |
  Vote: I like it 0 Vote: I do not like it

I love it!! Thanks you :D

»
7 years ago, # |
  Vote: I like it 0 Vote: I do not like it

Bug found: Handles of unofficial users are not clickable.

»
7 years ago, # |
  Vote: I like it 0 Vote: I do not like it

Thanks.

Maybe it is good that after filter ranking by country , one extra field show rank of contestants in filtered table ( between his compatriots ).

Sorry for my poor english.

»
7 years ago, # |
  Vote: I like it 0 Vote: I do not like it

Suggestion: Add link to submission (for each participants, click on problem points go to submission).

»
7 years ago, # |
Rev. 3   Vote: I like it 0 Vote: I do not like it

it will be awesome if you add column with rating before the competition (now there is current rating) and delta of rating.

  • »
    »
    7 years ago, # ^ |
      Vote: I like it +3 Vote: I do not like it

    I also really want this but using the current API, i need to request user.rating information one by one from the API which i think will be really slow. I thought about another alternative but it might be not possible for me in near future :(

    • »
      »
      »
      7 years ago, # ^ |
        Vote: I like it 0 Vote: I do not like it

      What's the alternative idea?

      • »
        »
        »
        »
        7 years ago, # ^ |
          Vote: I like it +1 Vote: I do not like it

        I thought about using database to store the information and only do request when needed.

    • »
      »
      »
      7 years ago, # ^ |
        Vote: I like it 0 Vote: I do not like it

      What about caching?)

»
3 years ago, # |
  Vote: I like it 0 Vote: I do not like it

not working now>>>owo