138492025-01-08 22:54:04fzs1969Kövek (100 pont)cpp17Compilation error
N = int(input())
t = list(map(int,input().split()))
összeg = sum(t)
elem = összeg // N
összeg = 0
db = 0
for i in range(N):
    összeg += t[i]
    if összeg == (i+1) * elem:
        db += 1
print(N-db)
Compilation error
open /var/local/lib/isolate/440/box/a.out: no such file or directory
main.cpp:1:1: error: 'N' does not name a type
    1 | N = int(input())
      | ^