Print other features for each problem
arghavanMor opened this issue · 3 comments
arghavanMor commented
Hi,
Thank you for this great dataset. I have two questions:
- 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?
- 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 :)
KareemAlaa2001 commented
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!)
davidhchoi commented
- 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 beproblem.description
. - 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.
arghavanMor commented
Thank you, I will try.