Borderou de evaluare (job #797016)

Utilizator avatar andreifilimon Popescu Filimon Andrei Cosmin andreifilimon IP ascuns
Problemă Romeo si Julieta (clasa a 10-a) Compilator cpp-32
Rundă simulare_casi_10 Status evaluat
Dată 23 nov. 2024 14:00:00 Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:72:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'unsigned int'} [-Wsign-compare] 72 | if(j <= s.size()) mat[i][j] = s[j - 1]; | ~~^~~~~~~~~~~ main.cpp:87:8: warning: 'xR' may be used uninitialized [-Wmaybe-uninitialized] 87 | bfs(xR, yR, distR); | ~~~^~~~~~~~~~~~~~~ main.cpp:65:9: note: 'xR' was declared here 65 | int xR, xJ, yR, yJ; | ^~ main.cpp:88:8: warning: 'xJ' may be used uninitialized [-Wmaybe-uninitialized] 88 | bfs(xJ, yJ, distJ); | ~~~^~~~~~~~~~~~~~~ main.cpp:65:13: note: 'xJ' was declared here 65 | int xR, xJ, yR, yJ; | ^~ main.cpp:87:8: warning: 'yR' may be used uninitialized [-Wmaybe-uninitialized] 87 | bfs(xR, yR, distR); | ~~~^~~~~~~~~~~~~~~ main.cpp:65:17: note: 'yR' was declared here 65 | int xR, xJ, yR, yJ; | ^~ main.cpp:88:8: warning: 'yJ' may be used uninitialized [-Wmaybe-uninitialized] 88 | bfs(xJ, yJ, distJ); | ~~~^~~~~~~~~~~~~~~ main.cpp:65:21: note: 'yJ' was declared here 65 | int xR, xJ, yR, yJ; | ^~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb OK 10
2 1 ms 245 kb OK 10
3 1 ms 507 kb OK 10
4 1 ms 245 kb OK 10
5 1 ms 249 kb OK 10
6 1 ms 512 kb OK 10
7 1 ms 245 kb OK 10
8 1 ms 507 kb OK 10
9 1 ms 245 kb OK 10
10 1 ms 507 kb OK 10
Punctaj total 100