Pagini recente » Borderou de evaluare (job #465232) | Borderou de evaluare (job #1970704) | Borderou de evaluare (job #2396602) | Borderou de evaluare (job #2480916) | Borderou de evaluare (job #2891517)
Borderou de evaluare (job #2891517)
Raport evaluator
Compilare:
main.cpp: In function 'void dfs(int, int)':
main.cpp:31:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
31 | for (int j = 0; j < children[i].size(); ++j)
| ~~^~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:41:18: warning: unused variable 'j' [-Wunused-variable]
41 | int n, m, i, j, maxx =- 1, a, b, x, y, copiea, copieb, root;
| ^
main.cpp:108:39: warning: 'y' may be used uninitialized in this function [-Wmaybe-uninitialized]
108 | out << maxx << " " << x << " " << y;
| ^
main.cpp:108:32: warning: 'x' may be used uninitialized in this function [-Wmaybe-uninitialized]
108 | out << maxx << " " << x << " " << y;
| ^~~
main.cpp:41:60: warning: 'root' may be used uninitialized in this function [-Wmaybe-uninitialized]
41 | int n, m, i, j, maxx =- 1, a, b, x, y, copiea, copieb, root;
| ^~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 1ms | 184kb | OK | 10 |
2 | 1ms | 184kb | OK | 10 |
3 | 1ms | 184kb | OK | 10 |
4 | 6ms | 1093kb | OK | 10 |
5 | 3ms | 1159kb | OK | 10 |
6 | 12ms | 1331kb | OK | 10 |
7 | 901ms | 3215kb | Time limit exceeded | 0 |
8 | 21ms | 1617kb | OK | 10 |
9 | 309ms | 1933kb | OK | 10 |
10 | 259ms | 1900kb | OK | 10 |
Punctaj total | 90 |