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
5
5
g++ -std=c++11 output_checker.cpp -o outputgen
6
6
counter=5
7
7
while [[ $counter -gt 0 ]]; do
8
- ./inputgen
9
- ./work
10
- ./checker
8
+ timeout 2s ./inputgen
9
+ timeout 2s ./work
10
+ timeout 2s ./checker
11
11
line=$( ./outputgen)
12
12
echo $line
13
13
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
5
5
g++ -std=c++11 -O2 precision_checker.cpp -o precisionc
6
6
counter=1
7
7
while [[ $counter -gt 0 ]]; do
8
- ./inputg
9
- ./result
10
- ./tester
8
+ timeout 2s ./inputg
9
+ timeout 2s ./result
10
+ timeout 2s ./tester
11
11
line=$( ./precisionc)
12
12
echo $line
13
13
if [[ ${line: 0: 1} != ' S' ]]; then
You can’t perform that action at this time.
0 commit comments