Laggy's blog

By Laggy, history, 5 years ago, In English

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.

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

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

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

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

    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?

»
5 years ago, # |
  Vote: I like it +2 Vote: I do not like it

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.