Borderou de evaluare (job #1302161)

Utilizator popa.andreiPopa Andrei popa.andrei Data 26 decembrie 2014 17:50:58
Problema Ciclu2 Status done
Runda Happy Birthday Infoarena 2014 Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘int pathContains(int)’: user.cpp:18:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < cycles.size(); i++){ ^ user.cpp: In function ‘void DFS(int, int)’: user.cpp:28:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < L[v].size(); i++){ ^ user.cpp: In function ‘int main()’: user.cpp:87:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < v1.size() && x < 2; i++){ ^ user.cpp:137:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int j = 0; j < v.size() && ok == 0; j++){ ^ user.cpp:62:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("ciclu2.in","r",stdin); ^ user.cpp:63:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("ciclu2.out","w",stdout); ^ user.cpp:126:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&x,&k); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms488kbOK2020
2Depăşit1856kbTime limit exceeded.00
3Depăşit3896kbTime limit exceeded.0
4Depăşit1316kbTime limit exceeded.0
5Depăşit2208kbTime limit exceeded.0
Punctaj total20

Ceva nu functioneaza?