Borderou de evaluare (job #2891517)

Utilizator stefandutastefandutahoria stefanduta Data 18 aprilie 2022 20:45:25
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: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
11ms184kbOK10
21ms184kbOK10
31ms184kbOK10
46ms1093kbOK10
53ms1159kbOK10
612ms1331kbOK10
7901ms3215kbTime limit exceeded0
821ms1617kbOK10
9309ms1933kbOK10
10259ms1900kbOK10
Punctaj total90

Ceva nu functioneaza?