Borderou de evaluare (job #741742)

Utilizator avatar RosiuMihai Rosiu Mihai RosiuMihai IP ascuns
Problemă Panglica (clasa a 5-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 31 oct. 2023 18:13:03 Scor 40

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:17:25: warning: suggest parentheses around comparison in operand of '==' [-Wparentheses] 17 | if(v[ld]==v[ls]==C1){ | ~~~~~^~~~~~~ main.cpp:8:37: warning: variable 'Ncpy' set but not used [-Wunused-but-set-variable] 8 | int Lmax=0, Cmax, LSmax, LDmax, Ncpy, aux; | ^~~~ main.cpp:29:23: warning: 'Cmax' may be used uninitialized [-Wmaybe-uninitialized] 29 | fout<<Lmax<<endl<<Cmax<<endl<<LSmax<<endl<<LDmax; | ^~~~ main.cpp:8:17: note: 'Cmax' was declared here 8 | int Lmax=0, Cmax, LSmax, LDmax, Ncpy, aux; | ^~~~ main.cpp:29:35: warning: 'LSmax' may be used uninitialized [-Wmaybe-uninitialized] 29 | fout<<Lmax<<endl<<Cmax<<endl<<LSmax<<endl<<LDmax; | ^~~~~ main.cpp:8:23: note: 'LSmax' was declared here 8 | int Lmax=0, Cmax, LSmax, LDmax, Ncpy, aux; | ^~~~~ main.cpp:29:48: warning: 'LDmax' may be used uninitialized [-Wmaybe-uninitialized] 29 | fout<<Lmax<<endl<<Cmax<<endl<<LSmax<<endl<<LDmax; | ^~~~~ main.cpp:8:30: note: 'LDmax' was declared here 8 | int Lmax=0, Cmax, LSmax, LDmax, Ncpy, aux; | ^~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 108 ms 249 kb Time limit exceeded 0
2 1 ms 245 kb OK 10
3 1 ms 245 kb OK 10
4 1 ms 245 kb OK 10
5 49 ms 249 kb OK 10
6 109 ms 249 kb Time limit exceeded 0
7 109 ms 249 kb Time limit exceeded 0
8 109 ms 249 kb Time limit exceeded 0
9 109 ms 249 kb Time limit exceeded 0
10 106 ms 249 kb Time limit exceeded 0
Punctaj total 40