Borderou de evaluare (job #3139469)

Utilizator Andrei1209Andrei Mircea Andrei1209 Data 28 iunie 2023 14:37:25
Problema Rj Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 50

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:108:47: warning: 'y1' may be used uninitialized [-Wmaybe-uninitialized] 108 | cout << rasp << " " << x1 << " " << y1 << '\n'; | ^~~~ main.cpp:87:31: note: 'y1' was declared here 87 | int rasp = n * m + 1, x1, y1; | ^~ main.cpp:108:34: warning: 'x1' may be used uninitialized [-Wmaybe-uninitialized] 108 | cout << rasp << " " << x1 << " " << y1 << '\n'; | ^~~ main.cpp:87:27: note: 'x1' was declared here 87 | int rasp = n * m + 1, x1, y1; | ^~ main.cpp:86:8: warning: 'c2' may be used uninitialized [-Wmaybe-uninitialized] 86 | lee(matj, l2, c2); | ~~~^~~~~~~~~~~~~~ main.cpp:69:27: note: 'c2' was declared here 69 | int i, j, l1, l2, c1, c2; | ^~ main.cpp:85:8: warning: 'c1' may be used uninitialized [-Wmaybe-uninitialized] 85 | lee(matr, l1, c1); | ~~~^~~~~~~~~~~~~~ main.cpp:69:23: note: 'c1' was declared here 69 | int i, j, l1, l2, c1, c2; | ^~ main.cpp:86:8: warning: 'l2' may be used uninitialized [-Wmaybe-uninitialized] 86 | lee(matj, l2, c2); | ~~~^~~~~~~~~~~~~~ main.cpp:69:19: note: 'l2' was declared here 69 | int i, j, l1, l2, c1, c2; | ^~ main.cpp:85:8: warning: 'l1' may be used uninitialized [-Wmaybe-uninitialized] 85 | lee(matr, l1, c1); | ~~~^~~~~~~~~~~~~~ main.cpp:69:15: note: 'l1' was declared here 69 | int i, j, l1, l2, c1, c2; | ^~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms303kbOK100
29ms409kbKilled by Signal 110
34ms438kbKilled by Signal 110
44ms475kbKilled by Signal 110
56ms491kbKilled by Signal 110
60ms303kbOK1050
70ms303kbOK10
80ms303kbOK10
90ms303kbOK10
100ms303kbOK10
Punctaj total50

Ceva nu functioneaza?