QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#623065 | #5722. Rainbow Strings | DaAsianCarsten# | WA | 15ms | 10544kb | Python3 | 205b | 2024-10-09 09:57:49 | 2024-10-09 09:57:50 |
Judging History
answer
s = input()
D = dict()
for c in s:
if c in D:
D[c] += 1
else:
D[c] = 1
P = 11092019
ans = 1
for key in D:
ans *= (D[key] + 1) % P
print(ans)
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 100
Accepted
time: 7ms
memory: 10488kb
input:
aab
output:
6
result:
ok single line: '6'
Test #2:
score: 0
Accepted
time: 7ms
memory: 10396kb
input:
icpcprogrammingcontest
output:
209952
result:
ok single line: '209952'
Test #3:
score: 0
Accepted
time: 15ms
memory: 10544kb
input:
wfbratrxyl
output:
768
result:
ok single line: '768'
Test #4:
score: -100
Wrong Answer
time: 12ms
memory: 10368kb
input:
ffpndpjpqdcjatmmmumgainqrndlqweqxvbpbrltgydgylimfvkjheffnbmjsvggttimggjyhqidxbttxwxhijpcrvvqfwzlnvth
output:
27530294722560000
result:
wrong answer 1st lines differ - expected: '9665205', found: '27530294722560000'