ccc
Competitive Coding Client
Usage
Submit
comp submit http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=1500 answer.go
# Example Output:
# ========================================
# Status: AC
# CodeSize: 390 Byte
# Time: 7 ms
# Memory: 3744 KB
# ========================================
submit
command waits until the contest platform to finish judging, so this can take some time.
Test
Url
comp test https://atcoder.jp/contests/abc170/tasks/abc170_a answer.go
# Example Output:
# ========================================
# Case 1
#
# Input:
# 0 2 3 4 5
#
# Your Answer:
# 1
#
# Status:
# OK
# ========================================
# ========================================
# Case2
#
# Input:
# 1 2 0 4 5
#
# Answer:
# 3
#
# Your Answer:
# 4
#
# Status:
# NG
# ========================================
File
comp test ./a.in ./answer.go
If you pass a file with the extension .in
(e.g. "sample.in"), comp
command will look for a file with the same name and with the extension .out
(i.e. "sample.out") in the same directory. If exists, comp
command regards it as expected output for the input file and uses it in the test.
If the corresponding .out
file does not exist, comp
does not validate the output of your code.
Directory
comp test ./dir ./answer.go
- AtCoder
- Aizu Online Judge (AOJ)
Supported programming language
License
MIT
Author
Kazumasa Hirata