online-judge-tools / api-client

API client to develop tools for competitive programming
MIT License
64 stars 18 forks source link

support Topcoder #22

Open kmyk opened 4 years ago

kmyk commented 4 years ago

I want use online-judge-tools for Topcoder SRM. But there are two difficulties:

  1. Reading data from the Web Arena seems very difficult.
  2. We submit classes in SRM, not entire programs.

In terms of (1.), I have no idea how to implement it. Also it may require checking the terms of service. Of course only for practice problems, we can easily implement. (2.) is the same problem as LeetCode online-judge-tools/api-client#21. Should we make a new subcommand? But the subcommand requires much maintenance resources...

kmyk commented 4 years ago

In https://arena.topcoder.com , we can see raw data using arena.editor.getProblem() and arena.editor.getTestCases() in JavaScript console.

kmyk commented 4 years ago

It's done for archived problems, but problems in contests are not supported yet.