Borderou de evaluare (job #1933007)

Utilizator StarGold2Emanuel Nrx StarGold2 Data 20 martie 2017 12:19:29
Problema Turism Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int rot(int)’: user.cpp:8:12: error: ‘fth’ was not declared in this scope while( fth[x] > 0 ) ^ user.cpp: In function ‘void mrg(int, int)’: user.cpp:16:9: error: ‘fth’ was not declared in this scope if( fth[x] > fth[y] ) ^ user.cpp:19:5: error: ‘fth’ was not declared in this scope fth[x] += fth[y]; ^ user.cpp:20:5: error: ‘upd’ was not declared in this scope upd[x] += upd[y]; ^ user.cpp: In function ‘void upd(int, int)’: user.cpp:27:5: error: ‘cnt’ was not declared in this scope cnt[rot(x)] += y; ^ user.cpp: In function ‘int main()’: user.cpp:37:11: error: ‘fth’ was not declared in this scope fill( fth + 1, fth + n + 1, -1 ); ^ user.cpp:42:9: error: ‘edg’ was not declared in this scope edg[x].push_back( y ); ^ user.cpp:45:13: error: ‘rnk’ was not declared in this scope if( rnk[x] == 0 ) ^ user.cpp:50:13: error: ‘rnk’ was not declared in this scope if( rnk[y] == 0 ) ^ user.cpp:55:9: error: ‘rnk’ was not declared in this scope rnk[x] --; rnk[y] ++; ^ user.cpp:60:13: error: ‘rnk’ was not declared in this scope if( rnk[i] > 0 ) { ^ user.cpp:62:17: error: ‘lst1’ was not declared in this scope lst1.push_back( i ); ^ user.cpp:66:17: error: ‘lst2’ was not declared in this scope lst2.push_back( j ); ^

Ceva nu functioneaza?