Borderou de evaluare (job #1457836)

Utilizator tamionvTamio Vesa Nakajima tamionv Data 4 iulie 2015 16:23:48
Problema Redu Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘std::ifstream& operator>>(std::ifstream&, cost_matrix&)’: user.cpp:16:16: warning: no return statement in function returning non-void [-Wreturn-type] f >> x; } } } ^ user.cpp: In function ‘long long int calc_cost(const string&, const cost_matrix&)’: user.cpp:31:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i+1 < str.size(); ++i){ ^ user.cpp:34:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int dist = 4; dist <= str.size(); dist += 2){ ^ user.cpp:35:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0, j = dist-1; j < str.size(); ++i, ++j){ ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms404kbOK10
20ms404kbOK10
30ms416kbOK10
40ms428kbOK10
512ms524kbOK10
668ms788kbOK10
768ms788kbOK10
872ms788kbOK10
968ms788kbOK10
1068ms788kbOK10
Punctaj total100

Ceva nu functioneaza?