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=0 b=0 c=0 d=0 e=0 f=0 g=0 h=0 i=0 j=0 k=0 l=0 m=0 n=0 o=0 p=0 q=0 r=0 s=0 t=0 u=0 v=0 w=0 x=0 y=0 z=0 def vastaus(teksti): lopputulos=0 for n in teksti: if n=='A',n=='a': a+=1 lopputulos+=a elif n=='B',n=='b': b+=1 lopputulos+=b elif n=='C',n=='c': c+=1 lopputulos+=c elif n=='D',n=='d': d+=1 lopputulos+=d elif n=='E',n=='e': e+=1 lopputulos+=e elif n=='F',n=='f': f+=1 lopputulos+=f elif n=='G',n=='g': g+=1 lopputulos+=g elif n=='H',n=='h': h+=1 lopputulos+=h elif n=='I',n=='i': i+=1 lopputulos+=i elif n=='J',n=='j': j+=1 lopputulos+=j elif n=='K',n=='k': k+=1 lopputulos+=k elif n=='L',n=='l': l+=1 lopputulos+=l elif n=='M',n=='m': M+=1 lopputulos+=m elif n=='N',n=='n': n+=1 lopputulos+=n elif n=='O',n=='o': o+=1 lopputulos+=o elif n=='P',n=='p': p+=1 lopputulos+=p elif n=='Q',n=='q': q+=1 lopputulos+=q elif n=='R',n=='r': r+=1 lopputulos+=r elif n=='S',n=='s': s+=1 lopputulos+=s elif n=='T',n=='t': t+=1 lopputulos+=t elif n=='U',n=='u': u+=1 lopputulos+=u elif n=='V',n=='v': v+=1 lopputulos+=v elif n=='W',n=='w': w+=1 lopputulos+=w elif n=='X',n=='x': x+=1 lopputulos+=x elif n=='Y',n=='y': y+=1 lopputulos+=y elif n=='Z',n=='z': z+=1 lopputulos+=z return lopputulos print 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