Borderou de evaluare (job #756012)

Utilizator avatar Cornea_Alexandru Cornea Alexandru Cornea_Alexandru IP ascuns
Problemă Colier (clasa a 9-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 19 ian. 2024 17:22:57 Scor 90

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:37:11: warning: 'cu' may be used uninitialized [-Wmaybe-uninitialized] 37 | if (cu-inc+1==n && mini<0) | ~~^~~~ main.cpp:13:30: note: 'cu' was declared here 13 | int s=-1,smax=INT_MIN,inc,cu,mini=INT_MAX; | ^~ main.cpp:44:20: warning: 'inc' may be used uninitialized [-Wmaybe-uninitialized] 44 | for (int i=1; i<=inc-1; i++) | ~^~~~~~~ main.cpp:13:26: note: 'inc' was declared here 13 | int s=-1,smax=INT_MIN,inc,cu,mini=INT_MAX; | ^~~
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 245 kb OK 10
4 2 ms 389 kb OK 10
5 1 ms 245 kb OK 10
6 1 ms 245 kb OK 10
7 59 ms 249 kb OK 10
8 309 ms 249 kb OK 10
9 508 ms 249 kb Time limit exceeded 0
10 439 ms 249 kb OK 10
Punctaj total 90