Borderou de evaluare (job #3178692)
Utilizator | Data | 2 decembrie 2023 11:03:25 | |
---|---|---|---|
Problema | Cablaj | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:20:1: error: 'vector' does not name a type
20 | vector <muchie> muchii;
| ^~~~~~
main.cpp: In function 'int main()':
main.cpp:58:13: error: 'muchii' was not declared in this scope; did you mean 'muchie'?
58 | muchii.push_back({pct[i], pct[j], cost, 0});
| ^~~~~~
| muchie
main.cpp:65:10: error: 'muchii' was not declared in this scope; did you mean 'muchie'?
65 | sort(muchii.begin(), muchii.end(), cmp);
| ^~~~~~
| muchie
main.cpp:75:22: error: 'lg2' was not declared in this scope; did you mean 'log2'?
75 | if(lg1 < lg2)
| ^~~
| log2
main.cpp:75:16: error: 'lg1' was not declared in this scope
75 | if(lg1 < lg2)
| ^~~
main.cpp:44:21: warning: unused variable 'c' [-Wunused-variable]
44 | int i, j, x, y, c;
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !