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

Автор Laggy, история, 6 лет назад, По-английски

MikeMirzayanov First of all, thanks for the new feature. I was hoping you could add a new entry similar to the problem.points to the api response of the problemset.problems method. Surely, the new feature can be used to make interesting things like a smart problem selector relative to one's average difficulty.

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

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

You can find it in the tags property of the problem object. It starts with the * symbol.

  • »
    »
    6 лет назад, # ^ |
      Проголосовать: нравится +27 Проголосовать: не нравится

    Well, I thought it would be there but I can't find any problem where the api response includes the difficulties in the tags. Am I missing something?

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

I also think this would be a really cool feature. With it, you could do stuff like analyze the difficulty distribution of problems the user has solved, make a number theory contest where the difficulty of the problems aligns with div1abcde, etc. It feels like something that exposes a lot of possibilities for people using the CF API.