Task: | Osajono |
Sender: | Joku72 |
Submission time: | 2015-09-29 14:28:44 +0300 |
Language: | Python2 |
Status: | READY |
Result: | 0 |
group | verdict | score |
---|---|---|
#1 | RUNTIME ERROR | 0 |
#2 | RUNTIME ERROR | 0 |
#3 | RUNTIME ERROR | 0 |
test | verdict | time | group | |
---|---|---|---|---|
#1 | RUNTIME ERROR | 0.06 s | 1 | details |
#2 | RUNTIME ERROR | 0.07 s | 1 | details |
#3 | RUNTIME ERROR | 0.06 s | 1 | details |
#4 | RUNTIME ERROR | 0.05 s | 1 | details |
#5 | RUNTIME ERROR | 0.06 s | 1 | details |
#6 | RUNTIME ERROR | 0.05 s | 2 | details |
#7 | RUNTIME ERROR | 0.06 s | 2 | details |
#8 | RUNTIME ERROR | 0.06 s | 2 | details |
#9 | RUNTIME ERROR | 0.06 s | 2 | details |
#10 | RUNTIME ERROR | 0.06 s | 2 | details |
#11 | RUNTIME ERROR | 0.05 s | 3 | details |
#12 | RUNTIME ERROR | 0.06 s | 3 | details |
#13 | RUNTIME ERROR | 0.06 s | 3 | details |
#14 | RUNTIME ERROR | 0.06 s | 3 | details |
#15 | RUNTIME ERROR | 0.06 s | 3 | details |
Code
text=raw_input()a=0b=0c=0d=0e=0f=0g=0h=0i=0j=0k=0l=0m=0n=0o=0p=0q=0r=0s=0t=0u=0v=0w=0x=0y=0z=0def vastaus(teksti):lopputulos=0for n in teksti:if n=='A',n=='a':a+=1lopputulos+=aelif n=='B',n=='b':b+=1lopputulos+=belif n=='C',n=='c':c+=1lopputulos+=celif n=='D',n=='d':d+=1lopputulos+=delif n=='E',n=='e':e+=1lopputulos+=eelif n=='F',n=='f':f+=1lopputulos+=felif n=='G',n=='g':g+=1lopputulos+=gelif n=='H',n=='h':h+=1lopputulos+=helif n=='I',n=='i':i+=1lopputulos+=ielif n=='J',n=='j':j+=1lopputulos+=jelif n=='K',n=='k':k+=1lopputulos+=kelif n=='L',n=='l':l+=1lopputulos+=lelif n=='M',n=='m':M+=1lopputulos+=melif n=='N',n=='n':n+=1lopputulos+=nelif n=='O',n=='o':o+=1lopputulos+=oelif n=='P',n=='p':p+=1lopputulos+=pelif n=='Q',n=='q':q+=1lopputulos+=qelif n=='R',n=='r':r+=1lopputulos+=relif n=='S',n=='s':s+=1lopputulos+=selif n=='T',n=='t':t+=1lopputulos+=telif n=='U',n=='u':u+=1lopputulos+=uelif n=='V',n=='v':v+=1lopputulos+=velif n=='W',n=='w':w+=1lopputulos+=welif n=='X',n=='x':x+=1lopputulos+=xelif n=='Y',n=='y':y+=1lopputulos+=yelif n=='Z',n=='z':z+=1lopputulos+=zreturn lopputulosprint vastaus(text)
Test details
Test 1
Group: 1
Verdict: RUNTIME ERROR
input |
---|
BBBAABBBAAAABBAAAABAABAABBBBBB... |
correct output |
---|
2554 |
user output |
---|
(empty) |
Error:
File "input/code.py", line 35 if n=='A',n=='a': ^ SyntaxError: invalid syntax
Test 2
Group: 1
Verdict: RUNTIME ERROR
input |
---|
GDFVYWQCZAFGICSXOSWBZMGPDBSSVL... |
correct output |
---|
299 |
user output |
---|
(empty) |
Error:
File "input/code.py", line 35 if n=='A',n=='a': ^ SyntaxError: invalid syntax
Test 3
Group: 1
Verdict: RUNTIME ERROR
input |
---|
AAAAAAAAAAAAAAAAAAAAAAAAAZAAAA... |
correct output |
---|
4314 |
user output |
---|
(empty) |
Error:
File "input/code.py", line 35 if n=='A',n=='a': ^ SyntaxError: invalid syntax
Test 4
Group: 1
Verdict: RUNTIME ERROR
input |
---|
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA... |
correct output |
---|
4231 |
user output |
---|
(empty) |
Error:
File "input/code.py", line 35 if n=='A',n=='a': ^ SyntaxError: invalid syntax
Test 5
Group: 1
Verdict: RUNTIME ERROR
input |
---|
QQQQQQQQQQQQQQQQQQQQQQQQQQQQQQ... |
correct output |
---|
5050 |
user output |
---|
(empty) |
Error:
File "input/code.py", line 35 if n=='A',n=='a': ^ SyntaxError: invalid syntax
Test 6
Group: 2
Verdict: RUNTIME ERROR
input |
---|
BBABABBBABBAABBABBABAABAAABABA... |
correct output |
---|
6253029 |
user output |
---|
(empty) |
Error:
File "input/code.py", line 35 if n=='A',n=='a': ^ SyntaxError: invalid syntax
Test 7
Group: 2
Verdict: RUNTIME ERROR
input |
---|
RBKJMLDVQMKHYKCNDIVVKOMFUXTFMG... |
correct output |
---|
485173 |
user output |
---|
(empty) |
Error:
File "input/code.py", line 35 if n=='A',n=='a': ^ SyntaxError: invalid syntax
Test 8
Group: 2
Verdict: RUNTIME ERROR
input |
---|
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA... |
correct output |
---|
12427725 |
user output |
---|
(empty) |
Error:
File "input/code.py", line 35 if n=='A',n=='a': ^ SyntaxError: invalid syntax
Test 9
Group: 2
Verdict: RUNTIME ERROR
input |
---|
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA... |
correct output |
---|
12467549 |
user output |
---|
(empty) |
Error:
File "input/code.py", line 35 if n=='A',n=='a': ^ SyntaxError: invalid syntax
Test 10
Group: 2
Verdict: RUNTIME ERROR
input |
---|
QQQQQQQQQQQQQQQQQQQQQQQQQQQQQQ... |
correct output |
---|
12502500 |
user output |
---|
(empty) |
Error:
File "input/code.py", line 35 if n=='A',n=='a': ^ SyntaxError: invalid syntax
Test 11
Group: 3
Verdict: RUNTIME ERROR
input |
---|
BAAAAABABBABAABAABABABBBABBAAB... |
correct output |
---|
2500051369 |
user output |
---|
(empty) |
Error:
File "input/code.py", line 35 if n=='A',n=='a': ^ SyntaxError: invalid syntax
Test 12
Group: 3
Verdict: RUNTIME ERROR
input |
---|
ABBURXDRVXAYBPXXOQZNYHLWGUEEWR... |
correct output |
---|
192407124 |
user output |
---|
(empty) |
Error:
File "input/code.py", line 35 if n=='A',n=='a': ^ SyntaxError: invalid syntax
Test 13
Group: 3
Verdict: RUNTIME ERROR
input |
---|
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA... |
correct output |
---|
4998050400 |
user output |
---|
(empty) |
Error:
File "input/code.py", line 35 if n=='A',n=='a': ^ SyntaxError: invalid syntax
Test 14
Group: 3
Verdict: RUNTIME ERROR
input |
---|
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA... |
correct output |
---|
4998850144 |
user output |
---|
(empty) |
Error:
File "input/code.py", line 35 if n=='A',n=='a': ^ SyntaxError: invalid syntax
Test 15
Group: 3
Verdict: RUNTIME ERROR
input |
---|
QQQQQQQQQQQQQQQQQQQQQQQQQQQQQQ... |
correct output |
---|
5000050000 |
user output |
---|
(empty) |
Error:
File "input/code.py", line 35 if n=='A',n=='a': ^ SyntaxError: invalid syntax