Skip to content

breakTBB/OfflineJudge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OfflineJudge

Offline Judge for Topcoder

to run this tool, you need install packages required. it will install package httpx and beautifulsoup

pip install -r requirements.txt

load your topcoder account info for 'username' and 'password' field of data in OfflineJudge.py

find your problem's statistics on competitiveprogramming, it will looks like this

write your code in main.cpp and make sure you main() function meets the pattern.

for following definition

image-20221123223104184

you should make main() function exactly equals these lines.

int main() {
    TypoCoderDiv1 sol;
    cout << sol.getmax(${input}) << "\n";
}

it's all, just run python OfflineJudge.py to see if your code could pass system test.

feel free to make code for your usage preferences!

my demo for problem TypoCoderDiv1, test cases from this page

accept

Todo List

  • to reuse the test cases file instead of fetching data everytime
  • only compile once. important!

About

Offline Judge for Topcoder

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages