Borderou de evaluare (job #3271409)
Utilizator | Data | 26 ianuarie 2025 00:02:31 | |
---|---|---|---|
Problema | Rubarba | 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:119:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<punct>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
119 | for(int i = 0; i + 1 < infs.size(); i++){
| ~~~~~~^~~~~~~~~~~~~
main.cpp:126:33: error: cannot convert '__gnu_cxx::__alloc_traits<std::allocator<punct>, punct>::value_type' {aka 'punct'} to 'db' {aka 'long double'} in assignment
126 | st.x = st.y = infs[i];
| ^
main.cpp:127:33: error: cannot convert '__gnu_cxx::__alloc_traits<std::allocator<punct>, punct>::value_type' {aka 'punct'} to 'db' {aka 'long double'} in assignment
127 | dr.x = dr.y = infs[i + 1];
| ^
main.cpp:128:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<punct>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
128 | for(int k = 0; k < infs.size() - 1; k++){
| ~~^~~~~~~~~~~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !