verification using AtCoder and/or Codeforces
See original GitHub issue自動で提出して AC したか自動で確認すればよいので、可能です。
わりと簡単に実装できますが、完全自動化すると AtCoder への負荷でおこられます。
たぶん「ローカルからしか使えない」「1ファイルずつ手動で oj-verify submit hoge.test.cpp を実行しないとだめ」「ところどころ sleep を挟む」ぐらいに制限をかければぎりぎり許されるはず。便利にするとおこられだし不便にするとつらいので難しいが、AtCoder の問題を verify に使いたさはあるのでやってみてもよいかも?
Issue Analytics
- State:
- Created 4 years ago
- Comments:21 (21 by maintainers)
Top Results From Across the Web
AtCoder Beginner Contest 272 Announcement - Codeforces
I tried using BFS in Problem D, but I am not able to pass the 3 tests. Can someone help me find the...
Read more >Testcases of AtCoder - Codeforces
However, I found it little inconvenient or strange to search "Testcases of Atcoder" in google, go to Codeforces, and download test datas there....
Read more >AtCoder Beginner Contest 152 Announcement - Codeforces
chokudai's blog We will hold AtCoder Beginner Contest 152. The point values will be 100-200-300-400-500-600. We are looking forward to your participation!
Read more >New Programming Contest Website: AtCoder - Codeforces
Hello! We made a new programming contest website called AtCoder. I'm the admin of AtCoder. The first international contest called AtCoder Grand Contest...
Read more >AtCoder Library - Codeforces
Sometimes a problem asks matching on general graphs; you have to find a paper describing it, read it, and implement its really complicated...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Many online judges don’t distribute their test cases. It’s possible to submit directly (like vjudge), but there is the problem about scalability.
The number of test files becomes too large. For example, @beet-aizu’s library has about 300 test files now (i.e., without support for AtCoder nor Codeforces). It will easily reach 1000 files when AtCoder and Codeforces are supported.
There are some possible methods. Some methods including steps using hands (e.g. submitting via web browsers and reporting the results by hands) are apparently impossible. For automatically submitting, possibilities are following:
But using any method, automatically submitting has same difficulties:
It one takes care about (1.) Politeness, then we cannot ignore the (2.) Speed. And using any method, the (3.) Cost to implement is relatively large for the benefits. If someone sends a nice implementation, of course I’ll merge it.
これすこし大丈夫でない気がしてきました。申し訳ないですがもうしばらく様子を見たいです。
しばらく調査しての結論として、現状だと結果に対してお互いの手間が大きすぎる気がしてきたためです。具体的には以下の 2 点で、
ビルドが遅いのもたしかに注意する必要はある (verification helper の文脈だと CI なので、利用前に毎回ビルドすることになるため) のですが、AtCoder のシステムテストを使わない人には影響しないので、あまり気にしていません。