Test 1
Verdict: RUNTIME ERROR
Error:
input/code.rb:9: syntax error, unexpected ':', expecting `then' or ';' or '\n'
if pieces % n == 0:
^
input/code.rb:12: syntax error, unexpected `else', expecting end-of-input
Test 2
Verdict: RUNTIME ERROR
Error:
input/code.rb:9: syntax error, unexpected ':', expecting `then' or ';' or '\n'
if pieces % n == 0:
^
input/code.rb:12: syntax error, unexpected `else', expecting end-of-input
Test 3
Verdict: RUNTIME ERROR
Error:
input/code.rb:9: syntax error, unexpected ':', expecting `then' or ';' or '\n'
if pieces % n == 0:
^
input/code.rb:12: syntax error, unexpected `else', expecting end-of-input
Test 4
Verdict: RUNTIME ERROR
Error:
input/code.rb:9: syntax error, unexpected ':', expecting `then' or ';' or '\n'
if pieces % n == 0:
^
input/code.rb:12: syntax error, unexpected `else', expecting end-of-input
Test 5
Verdict: RUNTIME ERROR
Error:
input/code.rb:9: syntax error, unexpected ':', expecting `then' or ';' or '\n'
if pieces % n == 0:
^
input/code.rb:12: syntax error, unexpected `else', expecting end-of-input
Test 6
Verdict: RUNTIME ERROR
correct output |
---|
1000000 1000000 |
Error:
input/code.rb:9: syntax error, unexpected ':', expecting `then' or ';' or '\n'
if pieces % n == 0:
^
input/code.rb:12: syntax error, unexpected `else', expecting end-of-input
Test 7
Verdict: RUNTIME ERROR
Error:
input/code.rb:9: syntax error, unexpected ':', expecting `then' or ';' or '\n'
if pieces % n == 0:
^
input/code.rb:12: syntax error, unexpected `else', expecting end-of-input
Test 8
Verdict: RUNTIME ERROR
Error:
input/code.rb:9: syntax error, unexpected ':', expecting `then' or ';' or '\n'
if pieces % n == 0:
^
input/code.rb:12: syntax error, unexpected `else', expecting end-of-input
Test 9
Verdict: RUNTIME ERROR
Error:
input/code.rb:9: syntax error, unexpected ':', expecting `then' or ';' or '\n'
if pieces % n == 0:
^
input/code.rb:12: syntax error, unexpected `else', expecting end-of-input
Test 10
Verdict: RUNTIME ERROR
Error:
input/code.rb:9: syntax error, unexpected ':', expecting `then' or ';' or '\n'
if pieces % n == 0:
^
input/code.rb:12: syntax error, unexpected `else', expecting end-of-input
Test 11
Verdict: RUNTIME ERROR
Error:
input/code.rb:9: syntax error, unexpected ':', expecting `then' or ';' or '\n'
if pieces % n == 0:
^
input/code.rb:12: syntax error, unexpected `else', expecting end-of-input
Test 12
Verdict: RUNTIME ERROR
Error:
input/code.rb:9: syntax error, unexpected ':', expecting `then' or ';' or '\n'
if pieces % n == 0:
^
input/code.rb:12: syntax error, unexpected `else', expecting end-of-input
Test 13
Verdict: RUNTIME ERROR
Error:
input/code.rb:9: syntax error, unexpected ':', expecting `then' or ';' or '\n'
if pieces % n == 0:
^
input/code.rb:12: syntax error, unexpected `else', expecting end-of-input