Borderou de evaluare (job #3261506)
Utilizator | Data | 6 decembrie 2024 15:56:29 | |
---|---|---|---|
Problema | Infinitywar | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'bool cmp(std::pair<std::pair<int, int>, int>, std::pair<std::pair<int, int>, int>)':
main.cpp:21:9: error: 'sqrt' was not declared in this scope
21 | if( sqrt(a.frfr) != sqrt(b.frfr) ) return sqrt(a.frfr) < sqrt(b.frfr);
| ^~~~
main.cpp: In function 'int main()':
main.cpp:75:5: error: 'sort' was not declared in this scope; did you mean 'short'?
75 | sort(ls.begin(), ls.end(), cmp);
| ^~~~
| short
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !