Borderou de evaluare (job #1600398)

Utilizator VladTiberiuMihailescu Vlad Tiberiu VladTiberiu Data 14 februarie 2016 22:44:09
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:24: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:79:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int j = 0; j < comp[i].size(); ++j){ ^ user.cpp:81: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:81: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:87:48: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(ok == 0 && j + 1 < comp[i].size()){ ^ user.cpp:52: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:53: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:54:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ user.cpp:56:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&a[i]); ^ user.cpp:58: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
30ms648kbCorect10
40ms644kbCerintele 2 si 3 corecte7
50ms652kbCorect10
60ms664kbCerintele 2 si 3 corecte7
70ms668kbCorect10
80ms664kbCerintele 2 si 3 corecte7
944ms1128kbCerintele 2 si 3 corecte7
1044ms1276kbCerintele 2 si 3 corecte7
Punctaj total85

Ceva nu functioneaza?