11051 | 2024-07-05 14:25:03 | proba | Kvázi-Izogram | python3 | Wrong answer 0/100 | 172ms | 5680 KiB |
m = [input() for i in range(int(input()))]
def isogram(mondat):
betuk = [i for i in list(set(mondat)) if i in 'QWERTZUIOPASDFGHJKLYXCVBNM']
print(betuk)
for i in betuk:
if mondat.count(i) > 2:
return False
return True
db = 0
for i in m:
if isogram(i.upper()):
db += 1
print(db)
Subtask | Sum | Test | Verdict | Time | Memory | ||
---|---|---|---|---|---|---|---|
subtask1 | 0/0 | ||||||
1 | Wrong answer | 17ms | 2916 KiB | ||||
2 | Wrong answer | 17ms | 2916 KiB | ||||
subtask2 | 0/30 | ||||||
3 | Wrong answer | 18ms | 2800 KiB | ||||
4 | Wrong answer | 17ms | 2968 KiB | ||||
5 | Wrong answer | 17ms | 2960 KiB | ||||
6 | Wrong answer | 21ms | 3108 KiB | ||||
7 | Wrong answer | 54ms | 3940 KiB | ||||
subtask3 | 0/50 | ||||||
8 | Wrong answer | 18ms | 3044 KiB | ||||
9 | Wrong answer | 18ms | 3064 KiB | ||||
10 | Wrong answer | 19ms | 3044 KiB | ||||
11 | Wrong answer | 19ms | 2904 KiB | ||||
12 | Wrong answer | 18ms | 3044 KiB | ||||
13 | Wrong answer | 18ms | 3044 KiB | ||||
subtask4 | 0/20 | ||||||
14 | Wrong answer | 25ms | 3172 KiB | ||||
15 | Wrong answer | 32ms | 3300 KiB | ||||
16 | Wrong answer | 48ms | 3556 KiB | ||||
17 | Wrong answer | 79ms | 4068 KiB | ||||
18 | Wrong answer | 125ms | 4708 KiB | ||||
19 | Wrong answer | 158ms | 5168 KiB | ||||
20 | Wrong answer | 172ms | 5680 KiB |