| Task: | Palindromi |
| Sender: | poppendop |
| Submission time: | 2025-11-06 18:43:32 +0200 |
| Language: | Python3 (CPython3) |
| Status: | READY |
| Result: | 0 |
| group | verdict | score |
|---|---|---|
| #1 | RUNTIME ERROR | 0 |
| test | verdict | time | |
|---|---|---|---|
| #1 | RUNTIME ERROR | 0.02 s | details |
| #2 | RUNTIME ERROR | 0.02 s | details |
| #3 | RUNTIME ERROR | 0.02 s | details |
| #4 | RUNTIME ERROR | 0.02 s | details |
| #5 | RUNTIME ERROR | 0.02 s | details |
| #6 | RUNTIME ERROR | 0.02 s | details |
| #7 | RUNTIME ERROR | 0.02 s | details |
| #8 | RUNTIME ERROR | 0.02 s | details |
| #9 | RUNTIME ERROR | 0.02 s | details |
| #10 | RUNTIME ERROR | 0.02 s | details |
Code
t = input()
a = len(t)
s = 0
for i in range(round(s/2):
x = t[i]
y = t[(-1 - i)]
if x != y:
t[i] = y
s += 1
print(s)
Test details
Test 1 (public)
Verdict: RUNTIME ERROR
| input |
|---|
| datatahti |
| correct output |
|---|
| 3 |
| user output |
|---|
| (empty) |
Error:
File "/box/input/code.py", line 4
for i in range(round(s/2):
^
SyntaxError: invalid syntaxTest 2 (public)
Verdict: RUNTIME ERROR
| input |
|---|
| saippuakauppias |
| correct output |
|---|
| 0 |
| user output |
|---|
| (empty) |
Error:
File "/box/input/code.py", line 4
for i in range(round(s/2):
^
SyntaxError: invalid syntaxTest 3 (public)
Verdict: RUNTIME ERROR
| input |
|---|
| a |
| correct output |
|---|
| 0 |
| user output |
|---|
| (empty) |
Error:
File "/box/input/code.py", line 4
for i in range(round(s/2):
^
SyntaxError: invalid syntaxTest 4 (public)
Verdict: RUNTIME ERROR
| input |
|---|
| aa |
| correct output |
|---|
| 0 |
| user output |
|---|
| (empty) |
Error:
File "/box/input/code.py", line 4
for i in range(round(s/2):
^
SyntaxError: invalid syntaxTest 5 (public)
Verdict: RUNTIME ERROR
| input |
|---|
| abc |
| correct output |
|---|
| 1 |
| user output |
|---|
| (empty) |
Error:
File "/box/input/code.py", line 4
for i in range(round(s/2):
^
SyntaxError: invalid syntaxTest 6 (public)
Verdict: RUNTIME ERROR
| input |
|---|
| aybabtu |
| correct output |
|---|
| 2 |
| user output |
|---|
| (empty) |
Error:
File "/box/input/code.py", line 4
for i in range(round(s/2):
^
SyntaxError: invalid syntaxTest 7 (public)
Verdict: RUNTIME ERROR
| input |
|---|
| abacabaca |
| correct output |
|---|
| 2 |
| user output |
|---|
| (empty) |
Error:
File "/box/input/code.py", line 4
for i in range(round(s/2):
^
SyntaxError: invalid syntaxTest 8 (public)
Verdict: RUNTIME ERROR
| input |
|---|
| bbbbaaaababbbbbaabaaabaaaaabab... |
| correct output |
|---|
| 23 |
| user output |
|---|
| (empty) |
Error:
File "/box/input/code.py", line 4
for i in range(round(s/2):
^
SyntaxError: invalid syntaxTest 9 (public)
Verdict: RUNTIME ERROR
| input |
|---|
| acbaaabaabaddaccdcccbcdbdddacd... |
| correct output |
|---|
| 38 |
| user output |
|---|
| (empty) |
Error:
File "/box/input/code.py", line 4
for i in range(round(s/2):
^
SyntaxError: invalid syntaxTest 10 (public)
Verdict: RUNTIME ERROR
| input |
|---|
| uaqtmfftecryanvpshxsodjrllqnqp... |
| correct output |
|---|
| 49 |
| user output |
|---|
| (empty) |
Error:
File "/box/input/code.py", line 4
for i in range(round(s/2):
^
SyntaxError: invalid syntax