Borderou de evaluare (job #758556)

Utilizator avatar Andrei1209 Andrei Mircea Andrei1209 IP ascuns
Problemă Subșirul comun de lungime maximă (clasa a 7-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 28 ian. 2024 10:44:06 Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:38:34: warning: 'pozi' may be used uninitialized [-Wmaybe-uninitialized] 38 | cout << maxim << " " << pozi - maxim + 1 << " " << pozj - maxim + 1 << endl; | ~~~~~^~~~~~~ main.cpp:26:21: note: 'pozi' was declared here 26 | int maxim = -1, pozi, pozj; | ^~~~ main.cpp:38:61: warning: 'pozj' may be used uninitialized [-Wmaybe-uninitialized] 38 | cout << maxim << " " << pozi - maxim + 1 << " " << pozj - maxim + 1 << endl; | ~~~~~^~~~~~~ main.cpp:26:27: note: 'pozj' was declared here 26 | int maxim = -1, pozi, pozj; | ^~~~
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 770 kb OK 10
4 1 ms 1036 kb OK 10
5 9 ms 1818 kb OK 10
6 12 ms 2863 kb OK 10
7 9 ms 2347 kb OK 10
8 18 ms 4444 kb OK 10
9 19 ms 4440 kb OK 10
10 19 ms 4435 kb OK 10
Punctaj total 100