NCTU::OJ::Client
Inherits Reference / Object
Constants
VERSION = "0.1.0"
Constructors
new(token, group_id)
SourceInstance methods
clear_test_data(problem_id)
Sourcedelete(path : String)
Sourceexecute(id)
Sourcefile(submission_id)
Sourceget(path : String, params : Hash(String, Array(String)))
Sourceget(path : String, params : HTTP::Params | Nil = nil)
Sourceinput_file(test_data_id)
Sourceoutput_file(test_data_id)
Sourcepost(path : String, body : Hash(String, Array(String)) | IO = IO::Memory.new, content_type : String | Nil = nil)
Sourceproblems
Sourcerejudge(id)
Sourcesubmission(id)
Sourcesubmissions(problem_id, verdict_name = "")
Sourcetest_data(problem_id)
Sourceupload_test_data(problem_id, sample, input, output, time_limit, memory_limit, output_limit, score)
Sourceusers
Source