Borderou de evaluare (job #2937866)
Utilizator | Data | 11 noiembrie 2022 11:10:34 | |
---|---|---|---|
Problema | Permavg | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:4:2: warning: #import is a deprecated GCC extension [-Wdeprecated]
4 | #import <cmath>
| ^~~~~~
main.cpp:5:2: warning: #import is a deprecated GCC extension [-Wdeprecated]
5 | #import <cassert>
| ^~~~~~
main.cpp:9:5: error: ISO C++ forbids declaration of 'sort' with no type [-fpermissive]
9 | sort(vector<T>&a)
| ^~~~
main.cpp: In function 'int std::sort(std::vector<T>&)':
main.cpp:12:5: warning: no return statement in function returning non-void [-Wreturn-type]
12 | }
| ^
main.cpp: In instantiation of 'main()::<lambda(int, int, auto:1&&)> [with auto:1 = main()::<lambda(int, int, auto:1&&)>&]':
main.cpp:34:24: required from here
main.cpp:25:18: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
25 | int m=(st+dr>>1);
| ~~^~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !