233802026-01-21 07:50:07TellVinceKvázi-Izogrampython3Accepted 100/100238ms3320 KiB
N = int(input())
kimenet = 0
for i in range(N):
    M = str(input())
    B = M.upper()
    Izo = True
    for j in range(len(B)):
            
        if(B.count(B[j]) > 2 and B[j] != " " and B[j] >= "A" and B[j] <= "Z"):
            Izo = False
    if(Izo == True):
        kimenet += 1

print(kimenet)
SubtaskSumTestVerdictTimeMemory
subtask10/0
1Accepted16ms2868 KiB
2Accepted16ms2868 KiB
subtask230/30
3Accepted16ms2868 KiB
4Accepted14ms2968 KiB
5Accepted16ms2868 KiB
6Accepted17ms2868 KiB
7Accepted39ms3092 KiB
subtask350/50
8Accepted17ms2884 KiB
9Accepted17ms2864 KiB
10Accepted17ms2892 KiB
11Accepted17ms2864 KiB
12Accepted17ms3000 KiB
13Accepted17ms2928 KiB
subtask420/20
14Accepted28ms3320 KiB
15Accepted39ms3124 KiB
16Accepted61ms3124 KiB
17Accepted109ms2996 KiB
18Accepted173ms3124 KiB
19Accepted216ms3124 KiB
20Accepted238ms3124 KiB