Borderou de evaluare (job #3140683)
Utilizator | Data | 8 iulie 2023 16:28:26 | |
---|---|---|---|
Problema | Desen | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:33:34: warning: narrowing conversion of 'std::sqrt<int>((((v[i].points::x - v[j].points::x) * (v[i].points::x - v[j].points::x)) + ((v[i].points::y - v[j].points::y) * (v[i].points::y - v[j].points::y))))' from '__gnu_cxx::__enable_if<true, double>::__type' {aka 'double'} to 'int' [-Wnarrowing]
33 | used[++ct]= {i,j,sqrt((v[i].x-v[j].x)*(v[i].x-v[j].x)+(v[i].y-v[j].y)*(v[i].y-v[j].y))};
| ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:35:12: error: 'apm' was not declared in this scope
35 | g<<apm()
| ^~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !