Borderou de evaluare (job #1633354)

Utilizator team_nameUPB Banu Popa Visan team_name Data 6 martie 2016 12:04:18
Problema Puzzle2 Status done
Runda ONIS 2016, Runda 1 Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void eraseEdge(int, int)’: user.cpp:30:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < vec[a].size(); ++ i) ^ user.cpp:37:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < vec[b].size(); ++ i) ^ user.cpp: In function ‘int findCommon(std::vector<int>, std::vector<int>)’: user.cpp:48:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < v1.size(); ++ i) ^ user.cpp:49:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int j = 0; j < v2.size(); ++ j) ^ user.cpp: In function ‘int main()’: user.cpp:92:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < edges.size(); ++ i) ^ user.cpp:61:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("puzzle2.in", "w", stdout); ^ user.cpp:100:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("puzzle2.in", "r", stdin); ^ user.cpp:101:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("puzzle2.out", "w", stdout); ^ user.cpp:103:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%i %i", &n, &m); ^ user.cpp:106:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%i %i", &a, &b); ^ user.cpp:193:9: warning: ‘c’ may be used uninitialized in this function [-Wmaybe-uninitialized] for (int j = 1; j <= c; ++ j) ^ user.cpp:152:22: warning: ‘r’ may be used uninitialized in this function [-Wmaybe-uninitialized] sol = new int*[r + 5]; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
1152ms3896kbOK100
2152ms3896kbOK10
3200ms4600kbIncorect0
40ms1460kbOK10
5248ms4992kbOK10
6284ms5024kbOK10
7292ms5028kbOK10
8252ms4668kbOK10
9256ms4684kbOK10
108ms1608kbOK10
Punctaj total0

Ceva nu functioneaza?