Borderou de evaluare (job #3294458)
Raport evaluator
Compilare:
main.cpp: In function 'int n_th_element(int)':
main.cpp:19:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
19 | for(int i=0;i<numere.size();i++)
| ~^~~~~~~~~~~~~~
main.cpp:28:14: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
28 | if(cautat<mai_mic.size())
| ~~~~~~^~~~~~~~~~~~~~~
main.cpp:33:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
33 | else if(cautat<mai_mic.size() + nr_egali) // cautat e mai mare decat nr de numere mai mici si e <= decat numarul de numere cu tot cu cel ales
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:45:17: warning: unused variable 'k' [-Wunused-variable]
45 | int n,m,i,j,k,t,q,nr,minim,maxim,suma;
| ^
main.cpp:45:19: warning: unused variable 't' [-Wunused-variable]
45 | int n,m,i,j,k,t,q,nr,minim,maxim,suma;
| ^
main.cpp:45:21: warning: unused variable 'q' [-Wunused-variable]
45 | int n,m,i,j,k,t,q,nr,minim,maxim,suma;
| ^
main.cpp:45:23: warning: unused variable 'nr' [-Wunused-variable]
45 | int n,m,i,j,k,t,q,nr,minim,maxim,suma;
| ^~
main.cpp:45:26: warning: unused variable 'minim' [-Wunused-variable]
45 | int n,m,i,j,k,t,q,nr,minim,maxim,suma;
| ^~~~~
main.cpp:45:32: warning: unused variable 'maxim' [-Wunused-variable]
45 | int n,m,i,j,k,t,q,nr,minim,maxim,suma;
| ^~~~~
main.cpp:45:38: warning: unused variable 'suma' [-Wunused-variable]
45 | int n,m,i,j,k,t,q,nr,minim,maxim,suma;
| ^~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 303kb | OK | 10 | 10 |
2 | 7ms | 1204kb | OK | 10 | 10 |
3 | 4ms | 1032kb | OK | 10 | 10 |
4 | 6ms | 1204kb | OK | 10 | 10 |
5 | 9ms | 1867kb | OK | 10 | 10 |
6 | 162ms | 36487kb | OK | 10 | 10 |
7 | 167ms | 37539kb | Memory limit exceeded | 0 | 0 |
8 | 152ms | 36986kb | Memory limit exceeded | 0 | 0 |
9 | 206ms | 34770kb | OK | 10 |
10 | 202ms | 32993kb | OK | 10 |
Punctaj total | 60 |