Borderou de evaluare (job #1073956)
Utilizator | Data | 6 ianuarie 2014 22:52:57 | |
---|---|---|---|
Problema | Atac2 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int BFS(int, int)’:
user.cpp:68:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for ( int i = 0 ; i < G[node].size() ; ++i )
^
user.cpp:71:17: error: ‘i’ was not declared in this scope
dist[G[node][i]] = dist[node] + 1 ;
^
user.cpp: In function ‘int main()’:
user.cpp:81:10: warning: unused variable ‘j’ [-Wunused-variable]
int i , j , x , y ;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !