Borderou de evaluare (job #689070)

Utilizator andunhillMacarescu Sebastian andunhill Data 24 februarie 2012 09:15:13
Problema Zmeu2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

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:26: 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:61: 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; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms620kbOK10
20ms616kbOK10
38ms700kbIncorect0
40ms668kbIncorect0
58ms660kbOK10
60ms636kbIncorect0
70ms640kbIncorect0
80ms624kbIncorect0
90ms668kbKilled by signal 11(SIGSEGV).0
1012ms652kbKilled by signal 11(SIGSEGV).0
Punctaj total30

Ceva nu functioneaza?