Borderou de evaluare (job #3233676)

Utilizator iulia_morariuIuli Morariu iulia_morariu Data 4 iunie 2024 13:58:47
Problema Tribute Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:25:5: error: 'sort' was not declared in this scope; did you mean 'short'? 25 | sort(x.begin(), x.end()); | ^~~~ | short main.cpp:47:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 47 | while(i2 < x.size() && x[i2] <= r) i2++; | ~~~^~~~~~~~~~ main.cpp:48:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 48 | while(i1 < x.size() && x[i1] < l) i1++; | ~~~^~~~~~~~~~ main.cpp:83:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 83 | while(i2 < y.size() && y[i2] <= r) i2++; | ~~~^~~~~~~~~~ main.cpp:84:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 84 | while(i1 < y.size() && y[i1] < l) i1++; | ~~~^~~~~~~~~~ Non zero exit status: 1

Ceva nu functioneaza?