google-deepmind / code_contests

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Print other features for each problem

arghavanMor opened this issue · comments

Hi,
Thank you for this great dataset. I have two questions:

  1. How can we print the description of the problems and solutions (including correct, wrong, etc) and test cases? do you have any list of features that can help us to fetch other attributes?
  2. for example "CODEFORCES 1569_A" as a source, means the problem is fetched from codeforces but what is 1569_A or_B? It seems more than an index to me.

Thank you :)

Not an author so don't have an exact answer, but check out this tutorial if you haven't already, it outlines how to use proto2 files for simple I/O in python (and what the file contents actually mean!)

  1. Lines 41 and 42 of print_names_and_sources.py might be a good place to start, along with the linked tutorial about using protos. For example, the description would be problem.description.
  2. 1569 is the contest ID and A is the problem index in the contest (which typically has 5-9 problems). You can see the same numbers and letters on the Codeforces website.

Thank you, I will try.