Underdog_eagle's blog

By Underdog_eagle, history, 5 months ago, In English,

How to make a script which filters all the problems solved by a given user on codeforces according to problems tags and difficulty such that every tag contains the problem code of problems in it e.g. :- dp {801E, 201C, ...} ? and if such a tool is already available please share it.

 
 
 
 

»
5 months ago, # |
  Vote: I like it +3 Vote: I do not like it

Ask the Codeforces API a user.status query, and filter it for verdict "OK". This call will also give you all tags for each problem, so you can group them by the tag easily.

To sort them by difficulty, you need to additionally make a problemset.problems query, which gives you a ProblemStatistics objects for each problem.