110612024-07-05 16:52:12probaSzózatpython3Wrong answer 0/10025ms3192 KiB
hossz = 3
s = 'A _ _'
a = list(set(s.split(' ')))
a.remove('_')
x = 1
k = 26-len(a)
for i in range(len(a), hossz):
    x *= k
    k -= 1
print(x)
SubtaskSumTestVerdictTimeMemory
subtask10/0
1Wrong answer17ms2904 KiB
2Accepted17ms2904 KiB
subtask20/10
3Wrong answer18ms2952 KiB
4Wrong answer17ms2916 KiB
5Wrong answer17ms3192 KiB
subtask30/20
6Wrong answer17ms2980 KiB
7Wrong answer18ms3048 KiB
8Wrong answer17ms2916 KiB
9Wrong answer17ms2908 KiB
10Wrong answer17ms2916 KiB
11Wrong answer17ms3064 KiB
subtask40/30
12Wrong answer17ms2956 KiB
13Wrong answer18ms2960 KiB
14Wrong answer17ms2968 KiB
15Wrong answer17ms2988 KiB
16Wrong answer17ms2916 KiB
17Wrong answer17ms2916 KiB
subtask50/40
18Wrong answer17ms2976 KiB
19Wrong answer19ms3152 KiB
20Wrong answer25ms2976 KiB
21Wrong answer18ms3116 KiB
22Wrong answer17ms2916 KiB
23Wrong answer17ms3064 KiB
24Wrong answer17ms2916 KiB