Borderou de evaluare (job #972250)
Utilizator | Data | 11 iulie 2013 12:49:06 | |
---|---|---|---|
Problema | Sortare prin comparare | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:20:10: error: ‘max_q’ was not declared in this scope
querry Q[max_q];
^
user.cpp:21:10: error: ‘max_m’ was not declared in this scope
muchie M[max_m];
^
user.cpp: In function ‘void read()’:
user.cpp:29:5: error: ‘n’ was not declared in this scope
f>>n>>m>>q;
^
user.cpp:29:8: error: ‘m’ was not declared in this scope
f>>n>>m>>q;
^
user.cpp:29:11: error: ‘q’ was not declared in this scope
f>>n>>m>>q;
^
user.cpp:32:6: error: ‘M’ was not declared in this scope
f>>M[i].nod1>>M[i].nod2>>M[i].cost;
^
user.cpp:35:6: error: ‘Q’ was not declared in this scope
f>>Q[i].nod1>>Q[i].nod2;
^
user.cpp: In function ‘int radacina(int)’:
user.cpp:41:9: error: ‘T’ was not declared in this scope
while( T[x] > 0 )
^
user.cpp: In function ‘void add(int, int)’:
user.cpp:52:6: error: ‘T’ was not declared in this scope
if( T[Rx] < T[Ry] ){
^
user.cpp: In function ‘void apm()’:
user.cpp:67:24: error: ‘n’ was not declared in this scope
for( int i = 1 ; i <= n ; i++ )
^
user.cpp:68:3: error: ‘T’ was not declared in this scope
T[i] = -1;
^
user.cpp:70:24: error: ‘m’ was not declared in this scope
for( int i = 1 ; i <= m && nr < n ; i++ )
^
user.cpp:70:34: error: ‘n’ was not declared in this scope
for( int i = 1 ; i <= m && nr < n ; i++ )
^
user.cpp:71:16: error: ‘M’ was not declared in this scope
if( radacina(M[i].nod1) != radacina(M[i].nod2) ){
^
user.cpp:73:4: error: ‘L’ was not declared in this scope
L[M[i].nod1].push_back( M[i] );
^
user.cpp:65:6: warning: unused variable ‘i’ [-Wunused-variable]
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !