Borderou de evaluare (job #2937877)
Utilizator | Data | 11 noiembrie 2022 11:24:39 | |
---|---|---|---|
Problema | Matriceechilibrata | 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:6:14: error: expected '{' before ';' token
6 | namespace std;
| ^
main.cpp:7:1: error: expected unqualified-id before '{' token
7 | {
| ^
main.cpp: In instantiation of 'main()::<lambda(int, int, auto:1&&)> [with auto:1 = main()::<lambda(int, int, auto:1&&)>&]':
main.cpp:36:24: required from here
main.cpp:26:18: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
26 | 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 !