Borderou de evaluare (job #1598943)
Utilizator | Data | 13 februarie 2016 14:43:01 | |
---|---|---|---|
Problema | Domino | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:11:36: error: expected initializer before ‘]’ token
vector < int > Index[10][10], G[10]];
^
user.cpp: In function ‘void Euler(int)’:
user.cpp:24:19: error: ‘G’ was not declared in this scope
if ( !G[i].size() )
^
user.cpp: In function ‘void DFS(int)’:
user.cpp:54:16: error: ‘G’ was not declared in this scope
for ( it = G[nod].begin(); it != G[nod].end(); ++it ){
^
user.cpp: In function ‘int main()’:
user.cpp:73:9: error: ‘G’ was not declared in this scope
G[x].push_back ( make_pair ( y, i ) );
^
user.cpp:82:14: error: ‘G’ was not declared in this scope
if ( G[i].size() && !viz[i] ){
^
user.cpp:86:14: error: ‘G’ was not declared in this scope
if ( G[i].size() & 1 ){
^
user.cpp:105:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if ( Sol.size() < M )
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !