Pagini recente » Borderou de evaluare (job #3120692) | Borderou de evaluare (job #2834654) | Borderou de evaluare (job #2422893) | Borderou de evaluare (job #572285) | Borderou de evaluare (job #2891518)
Borderou de evaluare (job #2891518)
Raport evaluator
Compilare:
main.cpp: In function 'void dfs(int, int)':
main.cpp:25:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
25 | for (int j = 0; j < children[i].size(); ++j)
| ~~^~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:35:18: warning: unused variable 'j' [-Wunused-variable]
35 | int n, m, i, j, maxx =- 1, a, b, x, y, copiea, copieb, root;
| ^
main.cpp:102:39: warning: 'y' may be used uninitialized in this function [-Wmaybe-uninitialized]
102 | out << maxx << " " << x << " " << y;
| ^
main.cpp:102:32: warning: 'x' may be used uninitialized in this function [-Wmaybe-uninitialized]
102 | out << maxx << " " << x << " " << y;
| ^~~
main.cpp:56:8: warning: 'root' may be used uninitialized in this function [-Wmaybe-uninitialized]
56 | dfs(root, 1);
| ~~~^~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 184kb | OK | 10 |
2 | 2ms | 184kb | OK | 10 |
3 | 1ms | 184kb | OK | 10 |
4 | 16ms | 1093kb | OK | 10 |
5 | 5ms | 1155kb | OK | 10 |
6 | 16ms | 1380kb | OK | 10 |
7 | 900ms | 3776kb | Time limit exceeded | 0 |
8 | 25ms | 1601kb | OK | 10 |
9 | 224ms | 1818kb | OK | 10 |
10 | 324ms | 1855kb | OK | 10 |
Punctaj total | 90 |