Borderou de evaluare (job #2980186)
Utilizator | Data | 16 februarie 2023 11:26:53 | |
---|---|---|---|
Problema | Distante | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:8:19: warning: overflow in conversion from 'double' to 'int' changes value from '1.00000000003e+11' to '2147483647' [-Woverflow]
8 | const int inf=1e11+3;
| ~~~~^~
main.cpp: In function 'void dij(int, std::vector<std::pair<int, int> >*)':
main.cpp:33:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
33 | for(int i=0;i<v[newnod].size();i++)
| ~^~~~~~~~~~~~~~~~~
main.cpp: At global scope:
main.cpp:48:8: error: ISO C++ forbids declaration of 'ver' with no type [-fpermissive]
48 | inline ver(int x)
| ^~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !