Borderou de evaluare (job #689176)

Utilizator andunhillMacarescu Sebastian andunhill Data 24 februarie 2012 10:39:11
Problema Zmeu2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 60

Raport evaluator

Compilare: user.cpp: In function ‘void BFS()’: user.cpp:41:27: warning: array subscript has type ‘char’ [-Wchar-subscripts] for(it k = graph[a.first].begin(); k != graph[a.first].end(); k++) ^ user.cpp:41:56: warning: array subscript has type ‘char’ [-Wchar-subscripts] for(it k = graph[a.first].begin(); k != graph[a.first].end(); k++) ^ user.cpp:42:27: warning: array subscript has type ‘char’ [-Wchar-subscripts] { if(a.second - story[*k].second <= 0) continue; ^ user.cpp:44:16: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(A[a.first][a.second] + story[*k].first < A[*k][a.second - story[*k].second]) ^ user.cpp:44:38: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(A[a.first][a.second] + story[*k].first < A[*k][a.second - story[*k].second]) ^ user.cpp:44:52: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(A[a.first][a.second] + story[*k].first < A[*k][a.second - story[*k].second]) ^ user.cpp:44:73: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(A[a.first][a.second] + story[*k].first < A[*k][a.second - story[*k].second]) ^ user.cpp:46:9: warning: array subscript has type ‘char’ [-Wchar-subscripts] A[*k][a.second - story[*k].second] = A[a.first][a.second] + story[*k].first; ^ user.cpp:46:30: warning: array subscript has type ‘char’ [-Wchar-subscripts] A[*k][a.second - story[*k].second] = A[a.first][a.second] + story[*k].first; ^ user.cpp:46:51: warning: array subscript has type ‘char’ [-Wchar-subscripts] A[*k][a.second - story[*k].second] = A[a.first][a.second] + story[*k].first; ^ user.cpp:46:73: warning: array subscript has type ‘char’ [-Wchar-subscripts] A[*k][a.second - story[*k].second] = A[a.first][a.second] + story[*k].first; ^ user.cpp:48:45: warning: array subscript has type ‘char’ [-Wchar-subscripts] q.push(make_pair(*k, a.second - story[*k].second)); ^ user.cpp:32:7: warning: unused variable ‘i’ [-Wunused-variable] { int i; ^ user.cpp: In function ‘int main()’: user.cpp:71:15: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] { if(i == 1 && j == P || i == P && j == 1) continue; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms616kbOK10
20ms612kbOK10
344ms696kbIncorect0
448ms668kbIncorect0
58ms660kbOK10
60ms636kbOK10
74ms648kbOK10
80ms620kbOK10
90ms660kbKilled by signal 11(SIGSEGV).0
1056ms708kbIncorect0
Punctaj total60

Ceva nu functioneaza?