Pagini recente » Borderou de evaluare (job #1161199) | Borderou de evaluare (job #261723) | Borderou de evaluare (job #1437856) | Borderou de evaluare (job #3123960) | Borderou de evaluare (job #2891510)
Borderou de evaluare (job #2891510)
Raport evaluator
Compilare:
main.cpp: In function 'void dfs(int, int)':
main.cpp:18:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
18 | for (int j = 0; j < children[i].size(); ++j)
| ~~^~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:27:18: warning: unused variable 'j' [-Wunused-variable]
27 | int n, m, i, j, maxx =- 1, a, b, x, y, copiea, copieb, root;
| ^
main.cpp:94:39: warning: 'y' may be used uninitialized in this function [-Wmaybe-uninitialized]
94 | out << maxx << " " << x << " " << y;
| ^
main.cpp:94:32: warning: 'x' may be used uninitialized in this function [-Wmaybe-uninitialized]
94 | out << maxx << " " << x << " " << y;
| ^~~
main.cpp:48:8: warning: 'root' may be used uninitialized in this function [-Wmaybe-uninitialized]
48 | dfs(root, 1);
| ~~~^~~~~~~~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 1ms | 184kb | OK | 10 |
| 2 | 1ms | 184kb | OK | 10 |
| 3 | 12ms | 1024kb | OK | 10 |
| 4 | 6ms | 1118kb | OK | 10 |
| 5 | 5ms | 1118kb | OK | 10 |
| 6 | 36ms | 1339kb | OK | 10 |
| 7 | 903ms | 3776kb | Time limit exceeded | 0 |
| 8 | 19ms | 1499kb | OK | 10 |
| 9 | 179ms | 1851kb | OK | 10 |
| 10 | 323ms | 1888kb | OK | 10 |
| Punctaj total | 90 |