Borderou de evaluare (job #3157142)

Utilizator VladNANegoita Vlad-Andrei VladNA Data 14 octombrie 2023 14:40:18
Problema Puzzle2 Status done
Runda Arhiva ICPC Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: In lambda function, inlined from 'void solve()' at main.cpp:58:6: main.cpp:28:15: warning: 'other' may be used uninitialized [-Wmaybe-uninitialized] 28 | dist[start] = 1, q.push(start); | ^ main.cpp: In function 'void solve()': main.cpp:49:42: note: 'other' was declared here 49 | int sum = dist[opposing], lines, cols, other; | ^~~~~ main.cpp:59:37: warning: 'cols' may be used uninitialized [-Wmaybe-uninitialized] 59 | vector<vector<int>> puzzle(lines, vector<int>(cols)); | ^~~~~~~~~~~~~~~~~ main.cpp:49:36: note: 'cols' was declared here 49 | int sum = dist[opposing], lines, cols, other; | ^~~~ main.cpp:62:42: warning: 'lines' may be used uninitialized [-Wmaybe-uninitialized] 62 | int c = (dist[i] + dist_other[i] - 1 - lines) / 2; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ main.cpp:49:29: note: 'lines' was declared here 49 | int sum = dist[opposing], lines, cols, other; | ^~~~~ main.cpp:52:28: warning: 'corner' may be used uninitialized [-Wmaybe-uninitialized] 52 | if (adj[i].size() == 2 && i != corner && dist[i] != sum) { | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ main.cpp:19:7: note: 'corner' was declared here 19 | int corner; | ^~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
168ms66715kbMemory limit exceeded00
269ms66826kbMemory limit exceeded0
374ms7593kbOK10
40ms303kbOK10
594ms9101kbOK10
689ms7335kbOK10
793ms7634kbOK10
879ms6438kbOK10
979ms6434kbOK10
103ms557kbOK10
Punctaj total0

Ceva nu functioneaza?