Pagini recente » Borderou de evaluare (job #2709664) | Borderou de evaluare (job #1749321) | Borderou de evaluare (job #2541445) | Borderou de evaluare (job #1284987) | Borderou de evaluare (job #1633354)
Borderou de evaluare (job #1633354)
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 |
1 | 152ms | 3896kb | OK | 10 | 0 |
2 | 152ms | 3896kb | OK | 10 |
3 | 200ms | 4600kb | Incorect | 0 |
4 | 0ms | 1460kb | OK | 10 |
5 | 248ms | 4992kb | OK | 10 |
6 | 284ms | 5024kb | OK | 10 |
7 | 292ms | 5028kb | OK | 10 |
8 | 252ms | 4668kb | OK | 10 |
9 | 256ms | 4684kb | OK | 10 |
10 | 8ms | 1608kb | OK | 10 |
Punctaj total | 0 |