Borderou de evaluare (job #3233392)
Utilizator | Data | 3 iunie 2024 11:08:04 | |
---|---|---|---|
Problema | Galerie | 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:34:5: error: 'sort' was not declared in this scope; did you mean 'short'?
34 | sort(l.begin(), l.end());
| ^~~~
| short
main.cpp:48:19: error: 'upper_bound' was not declared in this scope
48 | auto it = upper_bound(r.begin(), r.end(), y);
| ^~~~~~~~~~~
main.cpp:50:16: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
50 | if(poz == r.size() || r[poz] > y) poz--;
| ~~~~^~~~~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !