eolymp
bolt
Try our new interface for solving problems
Məsələlər

Kvadratlar

dərc olunub 04.01.24 16:49:39

n = int(input()) niger = list(map(int,input().split()))[:n] s= 0 for i in range(1,101): if niger.count(i) >= 4: dick = niger.count(i) while dick >= 4: dick += -4 s += 1 print(s)