Pagini recente » Borderou de evaluare (job #2619644) | Borderou de evaluare (job #1154765) | Borderou de evaluare (job #1814995) | Borderou de evaluare (job #2899851) | Borderou de evaluare (job #1633612)
Borderou de evaluare (job #1633612)
Raport evaluator
Compilare:
user.cpp: In function ‘int dfs(int)’:
user.cpp:25:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < vec[node].size(); ++ i)
^
user.cpp: In function ‘void eraseEdge(int, int)’:
user.cpp:39:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < vec[a].size(); ++ i)
^
user.cpp:46: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:57:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < v1.size(); ++ i)
^
user.cpp:58: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:110: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:111: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:113: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:123: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:210:9: warning: ‘c’ may be used uninitialized in this function [-Wmaybe-uninitialized]
for (int j = 1; j <= c; ++ j)
^
user.cpp:169: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 | 156ms | 3904kb | OK | 10 | 0 |
2 | 156ms | 3904kb | OK | 10 |
3 | 180ms | 4632kb | Killed by signal 6(SIGABRT). | 0 |
4 | 0ms | 1464kb | OK | 10 |
5 | 252ms | 4996kb | OK | 10 |
6 | 288ms | 5032kb | OK | 10 |
7 | 288ms | 5032kb | OK | 10 |
8 | 256ms | 4668kb | OK | 10 |
9 | 252ms | 4688kb | OK | 10 |
10 | 8ms | 1608kb | OK | 10 |
Punctaj total | 0 |