Forked from lixin-wei/acm-resolver,modify code to support IOI contests mode(partial points supports).
Import data's code is located in js/main.js
: $.getJSON("contest.json", function(data){..})
The default contest data file is contest.json
, which is in root folder. You can paste your own data into it.
samuel21119/cf-contest-crawler can auto export codeforces' contest.json.
- Page must be visited by http protocol. Prepare a web server, recommend WAMP for Windows, MAMP for macOS or run
python -m SimpleHTTPServer
for testing. - Copy all files to the directory under the server and visit
index.html
in the browser.
- Press RIGHT arrow key to continue.
- Press ENTER to focus on current rank.
{
frozen_second: 3600,
problem_count: 10,
solutions: {... },
users: {... }
}
- Key value of the submission can be any
- Problem index is counted from 1
381503: {
user_id: "ABC",
problem_index: "1",
verdict: "AC",
submitted_seconds: 22
},
381504: {
user_id: "2",
problem_index: "1",
verdict: "P10",
submitted_seconds: 23
},
P0 = Wrong Answer: 0
P10 = Partial score: 10
AC = Accept: 100
- Key value is the user ID, must match with the submission
ABC: {
name: "花落人亡两不知",
college: "HZNU",
is_exclude: true
},
2: {
name: "大斌丶凸(♯`∧´)凸",
college: "HDU",
is_exclude: false
},
3: {
name: "天才少女队",
college: "PKU",
is_exclude: true
},