Borderou de evaluare (job #1610318)
Utilizator | Data | 23 februarie 2016 13:56:28 | |
---|---|---|---|
Problema | Ubuntzei | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void BFS(int)’:
user.cpp:36:17: warning: unused variable ‘abc’ [-Wunused-variable]
int abc = (*it).first;
^
user.cpp: In function ‘int main()’:
user.cpp:85:17: warning: statement has no effect [-Wunused-value]
Ham[ 1 ][ 0 ];
^
user.cpp:91:5: error: ‘ans’ was not declared in this scope
ans = INF;
^
user.cpp:93:36: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses]
ans = min( ans , Ham[ 1<<k - 1 ][ i ] + Cost[ i ][ k + 1 ] );
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !