Borderou de evaluare (job #2891510)

Utilizator stefandutastefandutahoria stefanduta Data 18 aprilie 2022 20:39:17
Problema Concurs Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 90

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
11ms184kbOK10
21ms184kbOK10
312ms1024kbOK10
46ms1118kbOK10
55ms1118kbOK10
636ms1339kbOK10
7903ms3776kbTime limit exceeded0
819ms1499kbOK10
9179ms1851kbOK10
10323ms1888kbOK10
Punctaj total90

Ceva nu functioneaza?