Borderou de evaluare (job #2972413)
Utilizator | Data | 29 ianuarie 2023 14:08:54 | |
---|---|---|---|
Problema | Zoo | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int sum(int, int, int)':
main.cpp:26:18: error: 'upper_bound' was not declared in this scope
26 | rez += ( upper_bound( t[ i ].begin(), t[ i ].end(), dr ) - lower_bound( t[ i ].begin(), t[ i ].end(), st ) );
| ^~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:42:5: error: 'sort' was not declared in this scope; did you mean 'qsort'?
42 | sort( p + 1, p + 1 + n );
| ^~~~
| qsort
main.cpp:53:20: error: 'upper_bound' was not declared in this scope
53 | int x2 = ( upper_bound( x + 1, x + 1 + n, c ) - x );
| ^~~~~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !