Borderou de evaluare (job #626654)

Utilizator avatar RedFiree Alex Prohnitchi RedFiree IP ascuns
Problemă Matroid Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 20 ian. 2022 22:36:08 Scor 20

Raport evaluator

Compilare: main.cpp: In function 'void getTransposeGraph(std::vector<std::vector<int> >&, std::vector<std::vector<int> >&)': main.cpp:42:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'unsigned int'} [-Wsign-compare] 42 | for (int u = 0; u < adj.size(); u++) { | ~~^~~~~~~~~~~~ In function 'void dfs_helper(int, std::vector<std::vector<int> >&, bool*)', inlined from 'std::vector<int> findAllMotherVertices(std::vector<std::vector<int> >&)' at main.cpp:79:15: main.cpp:28:18: warning: '((bool*)visited)[-1]' may be used uninitialized [-Wmaybe-uninitialized] 28 | if (visited[u]) | ~~~~~~~~~^
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 114 kb OK 10
2 1 ms 245 kb Incorect 0
3 9 ms 241 kb OK 10
4 87 ms 901 kb Incorect 0
5 72 ms 1032 kb Incorect 0
6 171 ms 1945 kb Incorect 0
7 242 ms 2740 kb Incorect 0
8 344 ms 3657 kb Incorect 0
9 405 ms 4444 kb Incorect 0
10 405 ms 4444 kb Incorect 0
Punctaj total 20