Borderou de evaluare (job #833058)
| Utilizator |
|
IP | ascuns |
|---|---|---|---|
| Problemă | Wind (clasa a 7-a) | Compilator | cpp |
| Rundă | Arhiva de probleme | Status | evaluat |
| Dată | 24 aug. 2025 20:32:48 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:22:5: error: 'sort' was not declared in this scope; did you mean 'short'?
22 | sort ( centr.begin () , centr.end () );
| ^~~~
| short
main.cpp:32:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
32 | for ( i = 0 ; i < centr.size () ; i++ ) {
| ~~^~~~~~~~~~~~~~~