File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -5,9 +5,9 @@ g++ -std=c++11 checker.cpp -o checker
55g++ -std=c++11 output_checker.cpp -o outputgen
66counter=5
77while [[ $counter -gt 0 ]]; do
8- ./inputgen
9- ./work
10- ./checker
8+ timeout 2s ./inputgen
9+ timeout 2s ./work
10+ timeout 2s ./checker
1111 line=$( ./outputgen)
1212 echo $line
1313 if [[ ${line: 0: 1} != ' S' ]]; then
Original file line number Diff line number Diff line change @@ -5,9 +5,9 @@ g++ -std=c++11 -O2 tester.cpp -o tester
55g++ -std=c++11 -O2 precision_checker.cpp -o precisionc
66counter=1
77while [[ $counter -gt 0 ]]; do
8- ./inputg
9- ./result
10- ./tester
8+ timeout 2s ./inputg
9+ timeout 2s ./result
10+ timeout 2s ./tester
1111 line=$( ./precisionc)
1212 echo $line
1313 if [[ ${line: 0: 1} != ' S' ]]; then
You can’t perform that action at this time.
0 commit comments