Borderou de evaluare (job #2251583)
Utilizator | Data | 1 octombrie 2018 19:20:59 | |
---|---|---|---|
Problema | Componente tare conexe | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:10:1: error: ‘vector’ does not name a type
vector < int > V[ NMAX ];
^~~~~~
user.cpp:11:1: error: ‘vector’ does not name a type
vector < int > Sol[ NMAX ];
^~~~~~
user.cpp: In function ‘void Tarjan(int)’:
user.cpp:17:5: error: ‘vector’ was not declared in this scope
vector < int > :: iterator it;
^~~~~~
user.cpp:17:14: error: expected primary-expression before ‘int’
vector < int > :: iterator it;
^~~
user.cpp:23:11: error: ‘it’ was not declared in this scope
for ( it = V[ nod ].begin(); it != V[ nod ].end(); ++it ) {
^~
user.cpp:23:16: error: ‘V’ was not declared in this scope
for ( it = V[ nod ].begin(); it != V[ nod ].end(); ++it ) {
^
user.cpp:39:13: error: ‘Sol’ was not declared in this scope
Sol[ NrComp ].push_back( fiu );
^~~
user.cpp:16:9: warning: unused variable ‘i’ [-Wunused-variable]
int i, j, fiu;
^
user.cpp:16:12: warning: unused variable ‘j’ [-Wunused-variable]
int i, j, fiu;
^
user.cpp: In function ‘int main()’:
user.cpp:58:9: error: ‘V’ was not declared in this scope
V[ x ].push_back( y );
^
user.cpp:69:15: error: ‘Sol’ was not declared in this scope
sort( Sol[ i ].begin(), Sol[ i ].end() );
^~~
user.cpp:52:27: warning: unused variable ‘k’ [-Wunused-variable]
int n, m, x, y, i, j, k;
^
user.cpp:49:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen( "ctc.in", "r", stdin );
^
user.cpp:50:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen( "ctc.out", "w", stdout );
^
user.cpp:54:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf( "%d%d", &n, &m );
^
user.cpp:57:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf( "%d%d", &x, &y );
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !