Task: | Osajono |
Sender: | xylix |
Submission time: | 2015-09-30 12:23:00 +0300 |
Language: | Python3 |
Status: | READY |
Result: | 0 |
group | verdict | score |
---|---|---|
#1 | WRONG ANSWER | 0 |
#2 | WRONG ANSWER | 0 |
#3 | WRONG ANSWER | 0 |
test | verdict | time | group | |
---|---|---|---|---|
#1 | WRONG ANSWER | 0.09 s | 1 | details |
#2 | WRONG ANSWER | 0.10 s | 1 | details |
#3 | WRONG ANSWER | 0.07 s | 1 | details |
#4 | WRONG ANSWER | 0.10 s | 1 | details |
#5 | WRONG ANSWER | 0.08 s | 1 | details |
#6 | WRONG ANSWER | 0.08 s | 2 | details |
#7 | WRONG ANSWER | 0.09 s | 2 | details |
#8 | WRONG ANSWER | 0.07 s | 2 | details |
#9 | WRONG ANSWER | 0.08 s | 2 | details |
#10 | WRONG ANSWER | 0.09 s | 2 | details |
#11 | WRONG ANSWER | 0.09 s | 3 | details |
#12 | WRONG ANSWER | 0.09 s | 3 | details |
#13 | WRONG ANSWER | 0.10 s | 3 | details |
#14 | WRONG ANSWER | 0.09 s | 3 | details |
#15 | WRONG ANSWER | 0.10 s | 3 | details |
Code
string=input() lista={} for i in string: if(i in lista): lista[i]+=1 else: lista[i]=1 result=0 for x in lista: kappa=0 for key, value in lista.items(): kappa+=value result+=kappa print(lista)
Test details
Test 1
Group: 1
Verdict: WRONG ANSWER
input |
---|
BBBAABBBAAAABBAAAABAABAABBBBBB... |
correct output |
---|
2554 |
user output |
---|
{'A': 48, 'B': 52} |
Test 2
Group: 1
Verdict: WRONG ANSWER
input |
---|
GDFVYWQCZAFGICSXOSWBZMGPDBSSVL... |
correct output |
---|
299 |
user output |
---|
{'H': 3, 'W': 7, 'R': 2, 'N': ... |
Test 3
Group: 1
Verdict: WRONG ANSWER
input |
---|
AAAAAAAAAAAAAAAAAAAAAAAAAZAAAA... |
correct output |
---|
4314 |
user output |
---|
{'Z': 8, 'A': 92} |
Test 4
Group: 1
Verdict: WRONG ANSWER
input |
---|
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA... |
correct output |
---|
4231 |
user output |
---|
{'Z': 9, 'A': 91} |
Test 5
Group: 1
Verdict: WRONG ANSWER
input |
---|
QQQQQQQQQQQQQQQQQQQQQQQQQQQQQQ... |
correct output |
---|
5050 |
user output |
---|
{'Q': 100} |
Test 6
Group: 2
Verdict: WRONG ANSWER
input |
---|
BBABABBBABBAABBABBABAABAAABABA... |
correct output |
---|
6253029 |
user output |
---|
{'A': 2477, 'B': 2523} |
Test 7
Group: 2
Verdict: WRONG ANSWER
input |
---|
RBKJMLDVQMKHYKCNDIVVKOMFUXTFMG... |
correct output |
---|
485173 |
user output |
---|
{'N': 197, 'E': 182, 'V': 214,... |
Test 8
Group: 2
Verdict: WRONG ANSWER
input |
---|
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA... |
correct output |
---|
12427725 |
user output |
---|
{'A': 4985, 'Z': 15} |
Test 9
Group: 2
Verdict: WRONG ANSWER
input |
---|
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA... |
correct output |
---|
12467549 |
user output |
---|
{'Z': 7, 'A': 4993} |
Test 10
Group: 2
Verdict: WRONG ANSWER
input |
---|
QQQQQQQQQQQQQQQQQQQQQQQQQQQQQQ... |
correct output |
---|
12502500 |
user output |
---|
{'Q': 5000} |
Test 11
Group: 3
Verdict: WRONG ANSWER
input |
---|
BAAAAABABBABAABAABABABBBABBAAB... |
correct output |
---|
2500051369 |
user output |
---|
{'B': 49963, 'A': 50037} |
Test 12
Group: 3
Verdict: WRONG ANSWER
input |
---|
ABBURXDRVXAYBPXXOQZNYHLWGUEEWR... |
correct output |
---|
192407124 |
user output |
---|
{'J': 3832, 'R': 3855, 'Y': 39... |
Test 13
Group: 3
Verdict: WRONG ANSWER
input |
---|
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA... |
correct output |
---|
4998050400 |
user output |
---|
{'Z': 20, 'A': 99980} |
Test 14
Group: 3
Verdict: WRONG ANSWER
input |
---|
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA... |
correct output |
---|
4998850144 |
user output |
---|
{'Z': 12, 'A': 99988} |
Test 15
Group: 3
Verdict: WRONG ANSWER
input |
---|
QQQQQQQQQQQQQQQQQQQQQQQQQQQQQQ... |
correct output |
---|
5000050000 |
user output |
---|
{'Q': 100000} |