Borderou de evaluare (job #1302149)

Utilizator popa.andreiPopa Andrei popa.andrei Data 26 decembrie 2014 17:47:12
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:37: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:47: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:106:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < v1.size() && x < 2; i++){ ^ user.cpp:156:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int j = 0; j < v.size() && ok == 0; j++){ ^ user.cpp:81: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:82: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:145: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
116ms492kbOK2020
2Depăşit1868kbTime limit exceeded.00
3Depăşit3880kbTime limit exceeded.0
4Depăşit1316kbTime limit exceeded.0
5Depăşit2204kbTime limit exceeded.0
Punctaj total20

Ceva nu functioneaza?