sh19910711 / git-contest

Git extension for the online judges
https://rubygems.org/gems/git-contest
MIT License
11 stars 5 forks source link

Support for Kattis #13

Closed osund closed 10 years ago

osund commented 10 years ago
sh19910711 commented 10 years ago

I will look it later, thank you.

sh19910711 commented 10 years ago

@osund I have added some tests for the Kattis Driver. The driver seems to be no problem, so it will be released next week.

When you add another tests, please edit /spec/lib/contest/driver/t010_kattis_spec.rb

osund commented 10 years ago

@sh19910711 Okay, thank you! I found an official Python script for Kattis today which I didn't know about before. I added some info about it as a comment. The Python script doesn't support output of the status but instead it supports submission of multiple files.

Example of output of the Python script:

Problem: aaah
Language: Java
Files: Main.java
Mainclass: Main
Submit (y/N)?
y
Submission recieved. Submission ID: 111111.
sh19910711 commented 10 years ago

it supports submission of multiple files.

Hmm..., I see.

I will support it by comma-separated values such as -s file1,file2,...