Borderou de evaluare (job #3332631)

Utilizator hiAvidMihaly David-Gabriel hiAvid Data 8 ianuarie 2026 09:20:00
Problema Identice Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:8:5: error: expected initializer before 'in' 8 | in >> t >> n >> d; | ^~ main.cpp:9:9: error: 't' was not declared in this scope 9 | if (t==1) | ^ main.cpp:14:21: error: 'a' was not declared in this scope 14 | if (a[i][j]==1) | ^ main.cpp:16:21: error: 'h' was not declared in this scope 16 | h[j]++; | ^ main.cpp:20:33: error: 'st' was not declared in this scope; did you mean 'std'? 20 | if (st[i][j]<=j) | ^~ | std main.cpp:21:33: error: 'cnt1' was not declared in this scope 21 | cnt1=cnt1+(j-k+1)*h[st[i][j]]; | ^~~~ main.cpp:7:12: warning: unused variable 'd' [-Wunused-variable] 7 | int n, d, t | ^ Non zero exit status: 1

Ceva nu functioneaza?