Borderou de evaluare (job #3318987)
| Utilizator | Data | 30 octombrie 2025 09:35:11 | |
|---|---|---|---|
| Problema | Cablaj | 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:39:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
39 | for (int i=0;i<citys.size();i++) {
| ~^~~~~~~~~~~~~
main.cpp:40:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
40 | for (int j=0;j<citys.size();j++) {
| ~^~~~~~~~~~~~~
main.cpp:41:18: error: 'sqrt' was not declared in this scope
41 | float dist=sqrt((citys[i].first-citys[j].first)*(citys[i].first-citys[j].first)+
| ^~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
