Borderou de evaluare (job #1885166)

Utilizator vlasiuflaviusVlasiu Flavius vlasiuflavius Data 19 februarie 2017 18:03:09
Problema Colaj Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:11:24: error: expected initializer before ‘x00’ int v1[ 210 ],v2[ 210 ]x00 = 1,y00 = 1,n,linmax,colmax,i,absc[10000],ordo[10000],j,crt,lin,col; ^ user.cpp: In function ‘void citire()’: user.cpp:30:10: error: ‘n’ was not declared in this scope fin>>n; ^ user.cpp:31:10: error: ‘colmax’ was not declared in this scope fin>>colmax>>linmax; ^ user.cpp:31:18: error: ‘linmax’ was not declared in this scope fin>>colmax>>linmax; ^ user.cpp:32:10: error: ‘i’ was not declared in this scope for( i = 1 ; i <= n ; i++ ) ^ user.cpp:40:9: error: ‘v2’ was not declared in this scope v2[ i ] = v[ i ].b ; ^ user.cpp:42:46: error: ‘x00’ was not declared in this scope if( v[ i ].a == 0 || v[ i ].c == 0 ) x00 = 0; ^ user.cpp:43:46: error: ‘y00’ was not declared in this scope if( v[ i ].b == 0 || v[ i ].d == 0 ) y00 = 0; ^ user.cpp: In function ‘void normalizare()’: user.cpp:48:29: error: ‘n’ was not declared in this scope sort( v1 + 1 , v1 + 2 * n + 1 ); ^ user.cpp:49:11: error: ‘v2’ was not declared in this scope sort( v2 + 1 , v2 + 2 * n + 1 ); ^ user.cpp:50:10: error: ‘i’ was not declared in this scope for( i = 1 ; i <= 2 * n ; i++ ) ^ user.cpp:52:9: error: ‘absc’ was not declared in this scope absc[ v1[ i ] ] = i; ^ user.cpp:53:9: error: ‘ordo’ was not declared in this scope ordo[ v2[ i ] ] = i; ^ user.cpp:55:10: error: ‘i’ was not declared in this scope for( i = 1 ; i <= n ; i++ ) ^ user.cpp:57:21: error: ‘absc’ was not declared in this scope v[ i ].pa = absc[ v[ i ].a ]; ^ user.cpp:58:21: error: ‘ordo’ was not declared in this scope v[ i ].pb = ordo[ v[ i ].b ]; ^

Ceva nu functioneaza?