Borderou de evaluare (job #2141310)

Utilizator ioanavasilescuIoana Vasilescu ioanavasilescu Data 24 februarie 2018 11:48:04
Problema Sudest Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘void citire()’: user.cpp:17:5: error: ‘fin’ was not declared in this scope fin>>n; ^ user.cpp: At global scope: user.cpp:26:1: error: ‘queue’ does not name a type queue < pair <int,int> > q; ^ user.cpp: In function ‘void lee()’: user.cpp:32:5: error: ‘q’ was not declared in this scope q.push(make_pair(0,0)); ^ user.cpp:33:5: error: ‘recolta’ was not declared in this scope recolta[0][0]=cartofi[0][0]; ^ user.cpp:33:19: error: ‘cartofi’ was not declared in this scope recolta[0][0]=cartofi[0][0]; ^ user.cpp:41:31: error: ‘y’ was not declared in this scope int cont=teren[x][y].comanda; ^ user.cpp:47:22: error: ‘rr’ was not declared in this scope if(r>rr) ^ user.cpp:51:20: error: ‘smin’ was not declared in this scope if(smin && dist[xx][yy]>smin) ^ user.cpp:51:28: error: ‘dist’ was not declared in this scope if(smin && dist[xx][yy]>smin) ^ user.cpp:59:20: error: ‘tarcst’ was not declared in this scope if(tarcst[xx][yy]==2) ^ user.cpp:61:21: error: ‘smin’ was not declared in this scope smin=dist[xx][yy]; ^ user.cpp:61:26: error: ‘dist’ was not declared in this scope smin=dist[xx][yy]; ^ user.cpp:62:21: error: ‘nt’ was not declared in this scope nt++; ^

Ceva nu functioneaza?