Borderou de evaluare (job #3246272)

Utilizator paull122Paul Ion paull122 Data 2 octombrie 2024 16:46:06
Problema Intersect Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:22:33: error: expected ']' before ')' token 22 | ll cnt[NMAX+1][NMAX*(NMAX+1)/2+1)]; | ^ | ] main.cpp: In function 'int main()': main.cpp:30:9: error: 'cnt' was not declared in this scope; did you mean 'int'? 30 | cnt[i][0]=i+1; | ^~~ | int main.cpp:54:17: error: 'cnt' was not declared in this scope; did you mean 'int'? 54 | fout << cnt[n][k] << "\n"; | ^~~ | int Non zero exit status: 1

Ceva nu functioneaza?