Borderou de evaluare (job #1302651)

Utilizator popa.andreiPopa Andrei popa.andrei Data 27 decembrie 2014 09:55:18
Problema Ciclu2 Status done
Runda Happy Birthday Infoarena 2014 Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘bool contains(int, std::vector<int>)’: user.cpp:18:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < n.size(); i++){ ^ user.cpp: In function ‘int pathContains(int)’: user.cpp:25:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < cycles.size(); i++){ ^ user.cpp: In function ‘void findCycles(std::vector<int>)’: user.cpp:33:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < L[v].size(); i++){ ^ user.cpp: In function ‘void DFS(int, int)’: user.cpp:54: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:116:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < v1.size() && x < 2; i++){ ^ user.cpp:166:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int j = 0; j < v.size() && ok == 0; j++){ ^ user.cpp:88: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:89: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:155: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
120ms508kbOK2020
2Depăşit576kbTime limit exceeded.00
3Depăşit864kbTime limit exceeded.0
4Depăşit424kbTime limit exceeded.0
5Depăşit420kbTime limit exceeded.0
Punctaj total20

Ceva nu functioneaza?