Test 1 (public)
Verdict: RUNTIME ERROR
Error:
Traceback (most recent call last):
File "/box/input/code.py", line 25, in <module>
print(program(x))
File "/box/input/code.py", line 20, in program
if x[i]!= x[len(x)-i]:
IndexError: string index out of rangeTest 2 (public)
Verdict: RUNTIME ERROR
Error:
Traceback (most recent call last):
File "/box/input/code.py", line 25, in <module>
print(program(x))
File "/box/input/code.py", line 20, in program
if x[i]!= x[len(x)-i]:
IndexError: string index out of rangeTest 3 (public)
Verdict: ACCEPTED
Test 4 (public)
Verdict: RUNTIME ERROR
Error:
Traceback (most recent call last):
File "/box/input/code.py", line 25, in <module>
print(program(x))
File "/box/input/code.py", line 20, in program
if x[i]!= x[len(x)-i]:
IndexError: string index out of rangeTest 5 (public)
Verdict: RUNTIME ERROR
Error:
Traceback (most recent call last):
File "/box/input/code.py", line 25, in <module>
print(program(x))
File "/box/input/code.py", line 20, in program
if x[i]!= x[len(x)-i]:
IndexError: string index out of rangeTest 6 (public)
Verdict: RUNTIME ERROR
Error:
Traceback (most recent call last):
File "/box/input/code.py", line 25, in <module>
print(program(x))
File "/box/input/code.py", line 20, in program
if x[i]!= x[len(x)-i]:
IndexError: string index out of rangeTest 7 (public)
Verdict: RUNTIME ERROR
Error:
Traceback (most recent call last):
File "/box/input/code.py", line 25, in <module>
print(program(x))
File "/box/input/code.py", line 20, in program
if x[i]!= x[len(x)-i]:
IndexError: string index out of rangeTest 8 (public)
Verdict: RUNTIME ERROR
| input |
|---|
| bbbbaaaababbbbbaabaaabaaaaabab... |
Error:
Traceback (most recent call last):
File "/box/input/code.py", line 25, in <module>
print(program(x))
File "/box/input/code.py", line 20, in program
if x[i]!= x[len(x)-i]:
IndexError: string index out of rangeTest 9 (public)
Verdict: RUNTIME ERROR
| input |
|---|
| acbaaabaabaddaccdcccbcdbdddacd... |
Error:
Traceback (most recent call last):
File "/box/input/code.py", line 25, in <module>
print(program(x))
File "/box/input/code.py", line 20, in program
if x[i]!= x[len(x)-i]:
IndexError: string index out of rangeTest 10 (public)
Verdict: RUNTIME ERROR
| input |
|---|
| uaqtmfftecryanvpshxsodjrllqnqp... |
Error:
Traceback (most recent call last):
File "/box/input/code.py", line 25, in <module>
print(program(x))
File "/box/input/code.py", line 20, in program
if x[i]!= x[len(x)-i]:
IndexError: string index out of range