Borderou de evaluare (job #2891518)

Utilizator stefandutastefandutahoria stefanduta Data 18 aprilie 2022 20:46:48
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: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
12ms184kbOK10
22ms184kbOK10
31ms184kbOK10
416ms1093kbOK10
55ms1155kbOK10
616ms1380kbOK10
7900ms3776kbTime limit exceeded0
825ms1601kbOK10
9224ms1818kbOK10
10324ms1855kbOK10
Punctaj total90

Ceva nu functioneaza?