Borderou de evaluare (job #3325096)

Utilizator florinul1Iuhas Florin florinul1 Data 24 noiembrie 2025 18:53:28
Problema Intersect Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:3:11: error: expected initializer before 'i' 3 | int n,m,t i,j,k,sol; | ^ main.cpp: In function 'int main()': main.cpp:9:10: error: 't' was not declared in this scope; did you mean 'tm'? 9 | fin>>t,b[0][0]=1; | ^ | tm main.cpp:10:9: error: 'i' was not declared in this scope 10 | for(i=0; i<151; i++) | ^ main.cpp:13:13: error: 'j' was not declared in this scope 13 | for(j=0; j<11251; j++) | ^ main.cpp:16:17: error: 'k' was not declared in this scope 16 | for(k=1; k<=i&&j+i*k<11251&&i+k<151; k++) | ^ main.cpp:25:13: error: 'sol' was not declared in this scope 25 | sol=n+m+1; | ^~~ main.cpp:27:14: error: 'sol' was not declared in this scope 27 | else sol=0; | ^~~ main.cpp:28:15: error: 'sol' was not declared in this scope 28 | fout<<sol<<'\n'; | ^~~ Non zero exit status: 1

Ceva nu functioneaza?