mango_lassi's blog

By mango_lassi, history, 15 months ago, In English
  1. Is there any way to view top rated users (with inactive users included)? (The "Rating (All)" tab would logically be this, but the list is just the same as "Rating". Further, it seems you need to login to even see the "Rating (All)" tab. What even is it?)
  2. Is there a list of users sorted by their max. rating?
  3. Is there some convenient way to show only European contestants or do any filtering other than by country, city or organisation?

I've tried to google for these but haven't found anything. If any of these lists are hidden somewhere on the site, or any external sites have these lists, please inform me.

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

»
15 months ago, # |
Rev. 3   Vote: I like it +52 Vote: I do not like it

You can use Codeforces API to download whole list as JSON objects. After that all this stuffs should be easy with any programming language. I was doing some statistic for my university project at the same manner.

If you didn't know, codeforces rating mean is $$$1419$$$ and max rating mean is $$$1515$$$ :D

»
15 months ago, # |
  Vote: I like it +8 Vote: I do not like it

In the "Rating (All)" tab, the inactive users are listed after all of the active users. You could copy the inactive and active lists and combine them manually.

»
15 months ago, # |
  Vote: I like it +38 Vote: I do not like it

The "Rating (All)" tab would logically be this, but the list is just the same as "Rating".

That's a bug, it used to show what you want here.

»
15 months ago, # |
  Vote: I like it +105 Vote: I do not like it

Thank you for suggesting the codeforces API! With it I was able to find what I wanted. Here's some results:

Users by max. rating
  1. 3739 Belarus tourist
  2. 3597 Russia Petr
  3. 3548 Unknown Um_nik
  4. 3539 United States Benq
  5. 3512 Samoa Retired_MiFaFaOvO
  6. 3509 Poland mnbvmar
  7. 3468 Poland Radewoosh
  8. 3355 Russia LHiC
  9. 3338 Russia V--o_o--V
  10. 3337 China fateice
  11. 3330 Taiwan kiwikiwi
  12. 3321 United States ecnerwala
  13. 3279 China sunset
  14. 3274 China Syloviaely
  15. 3272 Switzerland W4yneb0t
  16. 3237 South Korea dotorya
  17. 3217 United States scott_wu
  18. 3203 China jcvb
  19. 3199 Japan maroonrk
  20. 3190 Japan yutaka1999
  21. 3187 Russia 300iq
  22. 3186 China TLE
  23. 3184 Canada ksun48
  24. 3180 South Korea ainta
  25. 3170 Russia -XraY-
  26. 3154 South Korea ko_osaga
  27. 3147 China xyz111
  28. 3133 China SkyDec
  29. 3115 Japan rng_58
  30. 3113 Japan yosupo
  31. 3109 Australia JoeyWheeler
  32. 3106 Japan anta
  33. 3105 Russia ershov.stanislav
  34. 3105 Poland Swistakk
  35. 3103 Germany Egor
  36. 3100 China matthew99
  37. 3098 Russia aid
  38. 3097 Russia PavelKunyavskiy
  39. 3095 China Miracle03
  40. 3093 Russia SpyCheese
  41. 3089 South Africa bmerry
  42. 3082 Russia Endagorion
  43. 3081 Unknown webmaster
  44. 3079 Russia vepifanov
  45. 3071 South Korea HYPERHYPERHYPERCUBELOVER
  46. 3063 Ukraine I_love_Tanya_Romanova
  47. 3055 China djq_cpp
  48. 3055 Russia Merkurev
  49. 3053 Ukraine RomaWhite
  50. 3051 Unknown halyavin
  51. 3050 China FizzyDavid
  52. 3047 China ACRush
  53. 3047 Poland Errichto
  54. 3045 Romania geniucos
  55. 3030 Russia eatmore
  56. 3026 Russia Zlobober
  57. 3026 South Korea tlwpdus
  58. 3024 Russia Kostroma
  59. 3015 Poland Marcin_smu
  60. 3015 China consecutivelimit
  61. 3005 South Korea molamola.
  62. 3001 Netherlands krijgertje
  63. 2997 Canada Reyna
  64. 2997 China whzzt
  65. 2996 Russia riadwaw
  66. 2993 Ukraine qwerty787788
  67. 2977 Belarus subscriber
  68. 2973 Taiwan Shik
  69. 2967 China YuukaKazami
  70. 2965 United States al13n
  71. 2964 Croatia ikatanic
  72. 2963 China lych_cys
  73. 2962 Russia sankear
  74. 2953 Russia izban
  75. 2952 Russia zemen
  76. 2940 Russia isaf27
  77. 2935 China shanquan2
  78. 2934 China TankEngineer
  79. 2926 Ukraine RAVEman
  80. 2925 Canada y0105w49
  81. 2921 Russia never_giveup
  82. 2921 Taiwan tzuyu_chou
  83. 2920 China jiry_2
  84. 2920 South Korea kcm1700
  85. 2918 Japan HIR180
  86. 2916 Japan uwi
  87. 2912 Taiwan dreamoon_love_AA
  88. 2910 South Korea OnionPringles
  89. 2908 Malaysia zscoder
  90. 2908 Canada FatalEagle
  91. 2907 United States neal
  92. 2907 Japan snuke
  93. 2907 Russia Golovanov399
  94. 2904 Latvia Alex_2oo8
  95. 2898 Russia SirShokoladina
  96. 2897 Czechia majk
  97. 2885 Russia Nebuchadnezzar
  98. 2884 Japan hos.lyric
  99. 2882 China ohweonfire
  100. 2880 Russia enot110
  101. 2879 Poland Proszek_na_ludka
  102. 2878 China ugly2333
  103. 2876 China BaconLi
  104. 2873 China cz_xuyixuan
  105. 2870 Russia Belonogov
  106. 2867 China tqyaaaaang
  107. 2865 Taiwan tmwilliamlin168
  108. 2865 Japan LayCurse
  109. 2864 Russia niyaznigmatul
  110. 2863 Russia GlebsHP
  111. 2861 Russia receed
  112. 2859 Belarus Arterm
  113. 2858 Russia pashka
  114. 2850 Russia mmaxio
  115. 2848 Russia ch_egor
  116. 2845 Ukraine MrDindows
  117. 2845 Russia khadaev
  118. 2839 United States Lewin
  119. 2837 China AwD
  120. 2837 Russia zeliboba
  121. 2831 Switzerland ilyakor
  122. 2828 Russia step_by_step
  123. 2827 China gisp_zjz
  124. 2825 Belarus andrew.volchek
  125. 2823 Taiwan peter50216
  126. 2822 Russia AndreySergunin
  127. 2821 Japan yokozuna57
  128. 2820 Belarus gepardo
  129. 2820 South Korea gs12117
  130. 2818 United States zxqfl
  131. 2817 Russia DmitryGrigorev
  132. 2816 China tun
  133. 2815 Poland Anadi
  134. 2814 China sevenkplus
  135. 2814 Russia HellKitsune
  136. 2811 Poland mareksom
  137. 2811 Ukraine Andrew_Makar
  138. 2810 Russia VArtem
  139. 2809 Finland mango_lassi
  140. 2808 China rowdark
  141. 2807 Russia KAN
  142. 2804 Canada Deemo
  143. 2803 North Korea black_horse2014
  144. 2801 Sweden simonlindholm
  145. 2800 Iran ToTLeS
  146. 2799 China cz_yixuanxu
  147. 2799 Japan WA_TLE
  148. 2798 Russia scanhex
  149. 2798 China JOHNKRAM
  150. 2797 Ukraine sdya
  151. 2795 Ukraine BigBag
  152. 2793 Lithuania JustasK
  153. 2792 South Korea kriii
  154. 2791 China FizzyDavicl
  155. 2790 China SanSiroWaltz
  156. 2787 Russia vosptu
  157. 2787 Russia amethyst0
  158. 2785 Japan semiexp
  159. 2784 Poland kostka
  160. 2783 Russia yeputons
  161. 2782 China xumingkuan
  162. 2782 China sd0061
  163. 2782 Belarus kefaa2
  164. 2778 United States waterfalls
  165. 2777 China kczno1
  166. 2776 Russia Burunduk1
  167. 2773 Japan ATS
  168. 2771 Taiwan step5
  169. 2771 Russia Madball
  170. 2769 Argentina mjhun
  171. 2769 Taiwan eddy1021
  172. 2768 Russia TeaPot
  173. 2767 Hong Kong gamegame
  174. 2767 Ukraine KADR
  175. 2767 Russia savinov
  176. 2766 Iran Haghani
  177. 2764 Russia cookiedoth
  178. 2762 Japan DEGwer
  179. 2761 Sweden Gullesnuffs
  180. 2756 Russia ifsmirnov
  181. 2752 Poland tomasz.kociumaka
  182. 2752 Belarus Chmel_Tolstiy
  183. 2751 Iran Shayan
  184. 2751 Japan natsugiri
  185. 2749 Slovakia Xellos
  186. 2747 Germany lumibons
  187. 2746 China WZYYN
  188. 2746 China gtwgtw
  189. 2746 China orbitingflea
  190. 2746 China Subconscious
  191. 2745 Croatia DBradac
  192. 2743 India cerberus97
  193. 2742 China _rqy
  194. 2741 Romania bicsi
  195. 2741 Poland voover
  196. 2739 Kazakhstan Batrr
  197. 2736 China fqw
  198. 2734 Taiwan hank55663
  199. 2734 Russia RAD
  200. 2733 Ukraine arsijo
Users from Europe (excluding Russia) by max. rating
  1. 3739 Belarus tourist
  2. 3509 Poland mnbvmar
  3. 3468 Poland Radewoosh
  4. 3272 Switzerland W4yneb0t
  5. 3105 Poland Swistakk
  6. 3103 Germany Egor
  7. 3063 Ukraine I_love_Tanya_Romanova
  8. 3053 Ukraine RomaWhite
  9. 3047 Poland Errichto
  10. 3045 Romania geniucos
  11. 3015 Poland Marcin_smu
  12. 3001 Netherlands krijgertje
  13. 2993 Ukraine qwerty787788
  14. 2977 Belarus subscriber
  15. 2964 Croatia ikatanic
  16. 2926 Ukraine RAVEman
  17. 2904 Latvia Alex_2oo8
  18. 2897 Czechia majk
  19. 2879 Poland Proszek_na_ludka
  20. 2859 Belarus Arterm
  21. 2845 Ukraine MrDindows
  22. 2831 Switzerland ilyakor
  23. 2825 Belarus andrew.volchek
  24. 2820 Belarus gepardo
  25. 2815 Poland Anadi
  26. 2811 Poland mareksom
  27. 2811 Ukraine Andrew_Makar
  28. 2809 Finland mango_lassi
  29. 2801 Sweden simonlindholm
  30. 2797 Ukraine sdya
  31. 2795 Ukraine BigBag
  32. 2793 Lithuania JustasK
  33. 2784 Poland kostka
  34. 2782 Belarus kefaa2
  35. 2767 Ukraine KADR
  36. 2761 Sweden Gullesnuffs
  37. 2752 Poland tomasz.kociumaka
  38. 2752 Belarus Chmel_Tolstiy
  39. 2749 Slovakia Xellos
  40. 2747 Germany lumibons
  41. 2745 Croatia DBradac
  42. 2741 Romania bicsi
  43. 2741 Poland voover
  44. 2739 Kazakhstan Batrr
  45. 2733 Ukraine arsijo
  46. 2732 Turkey muratt
  47. 2727 Germany Tinsane
  48. 2721 Finland Laakeri
  49. 2720 Croatia dorijanlendvaj
  50. 2715 Lithuania KrK
  51. 2708 Sweden _h_
  52. 2704 Croatia IvL
  53. 2699 France Rafbill
  54. 2692 Ukraine dzhulgakov
  55. 2688 Poland krismaz
  56. 2686 Poland piob
  57. 2685 Italy dario2994
  58. 2682 Switzerland dacin21
  59. 2674 Serbia TadijaSebez
  60. 2673 Norway icecuber
  61. 2671 Poland Rzepa
  62. 2669 Poland zdolna_kaczka
  63. 2668 Serbia ivan100sic
  64. 2665 Ukraine Fdg
  65. 2663 Belarus vlad107
  66. 2661 Ukraine Trumen
  67. 2655 Poland meret
  68. 2655 Georgia saba2000
  69. 2648 Belarus totsamyzed
  70. 2638 Poland tabasz
  71. 2632 Romania freak93
  72. 2630 Bulgaria Enchom
  73. 2625 Belarus netman
  74. 2623 Belarus ivan.metelsky
  75. 2622 Belarus Ra16bit
  76. 2612 Belgium vlecomte
  77. 2611 Kazakhstan ynsm
  78. 2609 Croatia kalinov
  79. 2608 Croatia stjepan
  80. 2607 Turkey ErdemKirez
  81. 2606 Belarus kefaa
  82. 2604 Poland Chameleon2460
  83. 2603 Poland ania
  84. 2601 Poland shadowatyy
  85. 2600 Ukraine Al.Cash
  86. 2599 Lithuania kolesov93
  87. 2597 Czechia fhlasek
  88. 2596 Belarus kostya_by
  89. 2594 Ukraine Vladyslav
  90. 2592 Ukraine danya.smelskiy
  91. 2592 Romania Andrei1998
  92. 2592 Belarus Arthur
  93. 2587 Romania fanache99
  94. 2586 Bulgaria Martin53
  95. 2585 Croatia abeker
  96. 2576 Georgia Temotoloraia
  97. 2575 Armenia albert96
  98. 2572 Serbia nikolapesic2802
  99. 2568 Kazakhstan Aeon
  100. 2567 Ukraine maksay
Code

User list loader:

import urllib.request, json

only_active = "false"
query = "https://codeforces.com/api/user.ratedList?activeOnly=" + only_active + "?lang=en"
with urllib.request.urlopen(query) as url:
	data = json.loads(url.read().decode())
	print(data)

Statistic outputter:

import ast

european_countries = ["Albania", "Andorra", "Armenia", "Austria", "Azerbaijan", "Belarus", "Belgium", "Bosnia and Herzegovina", "Bulgaria", "Croatia", "Cyprus", "Czechia", "Denmark", "Estonia", "Finland", "France", "Georgia", "Germany", "Greece", "Hungary", "Iceland", "Ireland", "Italy", "Kazakhstan", "Kosovo", "Latvia", "Liechtenstein", "Lithuania", "Luxembourg", "Malta", "Moldova", "Monaco", "Montenegro", "Netherlands", "Macedonia", "Norway", "Poland", "Portugal", "Romania", "Russia", "San Marino", "Serbia", "Slovakia", "Slovenia", "Spain", "Sweden", "Switzerland", "Turkey", "Ukraine", "United Kingdom"];

res = []
with open('codeforces_users.json') as json_file:
	lit = json_file.read()
	data = ast.literal_eval(lit)
	for acc in data['result']:
		# if 'country' in acc and acc['country'] in european_countries and acc['country'] != "Russia":
		# 	res.append((acc['maxRating'], acc['country'], acc['handle']))
		if 'country' in acc:
			res.append((acc['maxRating'], acc['country'], acc['handle']))
		else:
			res.append((acc['maxRating'], "Unknown", acc['handle']))
			
res = sorted(res, key=lambda x: -x[0])
for i in range(200):
	print(res[i][0], res[i][1], "[user:" + res[i][2] + "]")
  • »
    »
    15 months ago, # ^ |
      Vote: I like it +129 Vote: I do not like it

    3154 South Korea ko_osaga

    What happened to ko_osaga now :(((((

    • »
      »
      »
      15 months ago, # ^ |
      Rev. 3   Vote: I like it +100 Vote: I do not like it

      So now we know who is causing the rating inflation.

  • »
    »
    15 months ago, # ^ |
      Vote: I like it +140 Vote: I do not like it

    note that you just sent notification to 200 to 300 people

    • »
      »
      »
      15 months ago, # ^ |
        Vote: I like it +137 Vote: I do not like it

      This is why you shouldn't do things at 2AM ;_;

      I didn't realise this would happen. Sorry for the spam.

  • »
    »
    15 months ago, # ^ |
      Vote: I like it +45 Vote: I do not like it

    Holy guacamoly, that's a lot of notifications :D

    • »
      »
      »
      15 months ago, # ^ |
        Vote: I like it +227 Vote: I do not like it

      I for one found it a privilege to receive a notification

  • »
    »
    15 months ago, # ^ |
      Vote: I like it +75 Vote: I do not like it

    yeah-yeah, notifications, but I'm actually glad, because that's good place to rant.

    62 "legendary" grandmasters (at some point) is too much don't you guys think? More than 5 at any point is a lot.

    • »
      »
      »
      15 months ago, # ^ |
        Vote: I like it +9 Vote: I do not like it

      Do you think the rating rank should be considered by some sort of percentage?

      Like, top $$$x\%$$$ would be legendary grandmaster, top $$$y\%$$$ would be international grandmaster, etc?

      • »
        »
        »
        »
        15 months ago, # ^ |
          Vote: I like it +22 Vote: I do not like it

        I wouldn't mind it being static to say 10 people. Just because an Olympic sport is more popular doesn't mean they get more than 3 medals. (though I dont think it's a big issue the way its now)

      • »
        »
        »
        »
        15 months ago, # ^ |
          Vote: I like it +42 Vote: I do not like it

        So that if one wants to move to a higher rank, all they need to do is to bring sufficient number of new contestants to Codeforces? ;)

    • »
      »
      »
      15 months ago, # ^ |
        Vote: I like it +45 Vote: I do not like it

      It's ok because we have top-10 in main.

    • »
      »
      »
      15 months ago, # ^ |
        Vote: I like it +43 Vote: I do not like it

      The name might be somewhat strange, but so is "expert" for the initial rating. Don't see anything wring in having additional color every few hundred points. It might make sense to add one more color but one may say that top-10 on the right is enough

    • »
      »
      »
      15 months ago, # ^ |
        Vote: I like it 0 Vote: I do not like it

      I'd say it's obviously too much, a better number would be 6,2.

      So is the number of reds — there are 182 active IGMs and 412 active GMs, compared to 50 and 183 when the last revolution happened.

      I would be up for raising the GM floor to 2600, IGM to 2800, LGM to 3400 and adding two new titles to 3000 and 3200.

      • »
        »
        »
        »
        15 months ago, # ^ |
          Vote: I like it +38 Vote: I do not like it

        Not so sure about that. Here is a table I made a couple months ago.

        Somehow the only bracket that has gotten seriously bigger is LGM. Other changes can kind of be attributed to Codeforces itself growing.

  • »
    »
    15 months ago, # ^ |
      Vote: I like it +31 Vote: I do not like it

    This reminds me of the target thread from TC, which had been kept updated after every round for 8 years.