Created
February 25, 2024 05:00
-
-
Save yammmt/ce28a33a15e9336281dad49beabb2498 to your computer and use it in GitHub Desktop.
AHC030 の `tools` に入っていたテストケースを雑に全実行
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# frozen_string_literal: true | |
0..100.times do |i| | |
puts i | |
system('rm -f out.txt') | |
system("./target/release/tester ./a < in/#{sprintf('%04d', i)}.txt > out.txt") | |
system('head -1 out.txt') | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment