Borderou de evaluare (job #3291927)
Utilizator | Data | 6 aprilie 2025 12:02:38 | |
---|---|---|---|
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:102:21: error: cannot convert 'punct' to 'db' {aka 'double'}
102 | if (egal(v[i], start)) {
| ~~~^
| |
| punct
main.cpp:35:15: note: initializing argument 1 of 'bool egal(db, db)'
35 | bool egal (db a, db b) {
| ~~~^
main.cpp:134:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<punct>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
134 | for(int i = 0; i + 1 < infs.size(); i++){
| ~~~~~~^~~~~~~~~~~~~
main.cpp:140:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<punct>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
140 | for(int k = 0; k < infs.size(); k++){
| ~~^~~~~~~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !