Borderou de evaluare (job #1914566)

Utilizator herbertoHerbert Mohanu herberto Data 8 martie 2017 17:29:07
Problema Robotics Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:76:7: error: lvalue required as increment operand nr++; ^ user.cpp:77:22: error: invalid types ‘int[int]’ for array subscript tip1[nr[tip[i]][1]=x2[i]; ^ user.cpp:77:29: error: expected ‘]’ before ‘;’ token tip1[nr[tip[i]][1]=x2[i]; ^ user.cpp:78:22: error: invalid types ‘int[int]’ for array subscript tip2[nr[tip[i]][2]=y2[i]; ^ user.cpp:78:29: error: expected ‘]’ before ‘;’ token tip2[nr[tip[i]][2]=y2[i]; ^ user.cpp:80:3: error: ‘st’ was not declared in this scope st=0; ^ user.cpp:81:3: error: ‘dr’ was not declared in this scope dr=MAXN*2; ^ user.cpp:85:11: error: ‘j’ was not declared in this scope for(j=1; j<=nr[2]; j++){ ^ user.cpp:88:11: error: incompatible types in assignment of ‘int’ to ‘int [2001]’ xf=tip1[i][1]-t1; ^ user.cpp:89:11: error: incompatible types in assignment of ‘int’ to ‘int [2001]’ yf=tip1[i][1]-t1; ^ user.cpp:92:11: error: ‘marc’ was not declared in this scope marc[xf][yf]=1; ^ user.cpp:94:9: error: expected primary-expression before ‘)’ token for() ^ user.cpp:94:9: error: expected ‘;’ before ‘)’ token user.cpp:96:1: error: expected primary-expression before ‘}’ token } ^ user.cpp:96:1: error: expected ‘;’ before ‘}’ token user.cpp:96:1: error: expected primary-expression before ‘}’ token user.cpp:96:1: error: expected ‘)’ before ‘}’ token user.cpp:96:1: error: expected primary-expression before ‘}’ token user.cpp:96:1: error: expected ‘;’ before ‘}’ token user.cpp:20:22: warning: unused variable ‘ok’ [-Wunused-variable] int n, m, i, t, s, ok, t1, t2, xi, yi; ^ user.cpp:20:34: warning: unused variable ‘xi’ [-Wunused-variable]

Ceva nu functioneaza?