Borderou de evaluare (job #2925468)
Utilizator | Data | 15 octombrie 2022 12:09:45 | |
---|---|---|---|
Problema | Desen | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'double solve2(int, std::vector<elem>&)':
main.cpp:56:28: error: 'cmp' was not declared in this scope
56 | sort(v.begin(),v.end(),cmp);
| ^~~
main.cpp: In function 'int main()':
main.cpp:72:11: warning: unused variable 'x' [-Wunused-variable]
72 | int n,x,y,i,j;
| ^
main.cpp:72:13: warning: unused variable 'y' [-Wunused-variable]
72 | int n,x,y,i,j;
| ^
main.cpp:73:12: warning: unused variable 'kon' [-Wunused-variable]
73 | double kon=0;
| ^~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !