Borderou de evaluare (job #3294291)

Utilizator Sorin_GabrielGabara Sorin Gabriel Sorin_Gabriel Data 21 aprilie 2025 00:15:30
Problema Cele mai apropiate puncte din plan Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'bool comp(pct, pct)': main.cpp:16:32: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 16 | return a.j<b.j || a.j==b.j && a.i<b.i; | ~~~~~~~~~^~~~~~~~~~ main.cpp: In function 'void divide_et_imp(int, int)': main.cpp:48:14: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<pct>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 48 | for(i=0;i<candidati_merge.size();i++) | ~^~~~~~~~~~~~~~~~~~~~~~~ main.cpp:50:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<pct>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 50 | for(j=1;i+j<candidati_merge.size();j++) | ~~~^~~~~~~~~~~~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:66:11: warning: unused variable 'm' [-Wunused-variable] 66 | int n,m,i,j,k,t,q,nr,minim,maxim,suma; | ^ main.cpp:66:15: warning: unused variable 'j' [-Wunused-variable] 66 | int n,m,i,j,k,t,q,nr,minim,maxim,suma; | ^ main.cpp:66:17: warning: unused variable 'k' [-Wunused-variable] 66 | int n,m,i,j,k,t,q,nr,minim,maxim,suma; | ^ main.cpp:66:19: warning: unused variable 't' [-Wunused-variable] 66 | int n,m,i,j,k,t,q,nr,minim,maxim,suma; | ^ main.cpp:66:21: warning: unused variable 'q' [-Wunused-variable] 66 | int n,m,i,j,k,t,q,nr,minim,maxim,suma; | ^ main.cpp:66:23: warning: unused variable 'nr' [-Wunused-variable] 66 | int n,m,i,j,k,t,q,nr,minim,maxim,suma; | ^~ main.cpp:66:26: warning: unused variable 'minim' [-Wunused-variable] 66 | int n,m,i,j,k,t,q,nr,minim,maxim,suma; | ^~~~~ main.cpp:66:32: warning: unused variable 'maxim' [-Wunused-variable] 66 | int n,m,i,j,k,t,q,nr,minim,maxim,suma; | ^~~~~ main.cpp:66:38: warning: unused variable 'suma' [-Wunused-variable] 66 | int n,m,i,j,k,t,q,nr,minim,maxim,suma; | ^~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbOk5
20ms303kbOk5
33ms688kbOk5
43ms688kbOk5
59ms946kbOk5
613ms1507kbOk5
717ms2416kbOk5
829ms2510kbOk5
928ms2609kbOk5
1028ms2600kbOk5
1113ms1466kbOk5
1217ms1466kbOk5
139ms1466kbOk5
149ms1470kbOk5
159ms1466kbOk5
1614ms1466kbOk5
1717ms1462kbOk5
189ms1470kbOk5
199ms1466kbOk5
2019ms1466kbOk5
Punctaj total100

Ceva nu functioneaza?