QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#623040#5722. Rainbow StringsTheZachManWA 6ms10400kbPython3148b2024-10-09 09:45:312024-10-09 09:45:32

Judging History

你现在查看的是最新测评结果

  • [2024-10-09 09:45:32]
  • 评测
  • 测评结果:WA
  • 用时:6ms
  • 内存:10400kb
  • [2024-10-09 09:45:31]
  • 提交

answer

s = input()

d = {}

for c in s:
  if c in d:
    d[c] += 1
  else:
    d[c]=1

o=1
for k in d:
  o *= d[k]
  o %= 11092019

print(o)

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 0
Wrong Answer
time: 6ms
memory: 10400kb

input:

aab

output:

2

result:

wrong answer 1st lines differ - expected: '6', found: '2'