Borderou de evaluare (job #1600404)

Utilizator VladTiberiuMihailescu Vlad Tiberiu VladTiberiu Data 14 februarie 2016 22:50:28
Problema Biperm Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 85

Raport evaluator

Compilare: user.cpp: In function ‘void dfs(int)’: user.cpp:25:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < G[k].size(); ++i){ ^ user.cpp: In function ‘int main()’: user.cpp:69:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int j = 0; j < comp[i].size(); ++j){ ^ user.cpp:71:52: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int k = 0; k < Gr[comp[i][j]].size() && j + 1 < comp[i].size(); ++k){ ^ user.cpp:71:78: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int k = 0; k < Gr[comp[i][j]].size() && j + 1 < comp[i].size(); ++k){ ^ user.cpp:77:48: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(ok == 0 && j + 1 < comp[i].size()){ ^ user.cpp:41:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("biperm.in","r",stdin); ^ user.cpp:42:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("biperm.out","w",stdout); ^ user.cpp:43:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ user.cpp:45:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&a[i]); ^ user.cpp:47:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&b[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms648kbCorect10
20ms648kbCorect10
30ms644kbCorect10
40ms648kbCerintele 2 si 3 corecte7
50ms652kbCorect10
60ms664kbCerintele 2 si 3 corecte7
70ms664kbCorect10
80ms664kbCerintele 2 si 3 corecte7
944ms1132kbCerintele 2 si 3 corecte7
1040ms1276kbCerintele 2 si 3 corecte7
Punctaj total85

Ceva nu functioneaza?