6210 | 2023-11-08 09:32:26 | SzorenyiZalanAndras | Szózat | python3 | Accepted 100/100 | 18ms | 13676 KiB |
a=input()
betuk=list(map(str,input().split()))
nt=betuk.count("_")
t=len(betuk)-nt
abc=26
mo=1
for i in range(nt):
mo*=(abc-t)-i
print(mo)
Subtask | Sum | Test | Verdict | Time | Memory | ||
---|---|---|---|---|---|---|---|
subtask1 | 0/0 | ||||||
1 | Accepted | 18ms | 10688 KiB | ||||
2 | Accepted | 17ms | 11112 KiB | ||||
subtask2 | 10/10 | ||||||
3 | Accepted | 17ms | 11068 KiB | ||||
4 | Accepted | 17ms | 11592 KiB | ||||
5 | Accepted | 17ms | 11344 KiB | ||||
subtask3 | 20/20 | ||||||
6 | Accepted | 17ms | 11920 KiB | ||||
7 | Accepted | 17ms | 12076 KiB | ||||
8 | Accepted | 17ms | 12052 KiB | ||||
9 | Accepted | 17ms | 11836 KiB | ||||
10 | Accepted | 17ms | 12352 KiB | ||||
11 | Accepted | 17ms | 12084 KiB | ||||
subtask4 | 30/30 | ||||||
12 | Accepted | 17ms | 12516 KiB | ||||
13 | Accepted | 17ms | 12612 KiB | ||||
14 | Accepted | 17ms | 12284 KiB | ||||
15 | Accepted | 17ms | 12684 KiB | ||||
16 | Accepted | 17ms | 12760 KiB | ||||
17 | Accepted | 17ms | 12964 KiB | ||||
subtask5 | 40/40 | ||||||
18 | Accepted | 17ms | 13160 KiB | ||||
19 | Accepted | 17ms | 13068 KiB | ||||
20 | Accepted | 17ms | 13188 KiB | ||||
21 | Accepted | 17ms | 13148 KiB | ||||
22 | Accepted | 18ms | 13340 KiB | ||||
23 | Accepted | 17ms | 13620 KiB | ||||
24 | Accepted | 17ms | 13676 KiB |