Borderou de evaluare (job #3261411)
Utilizator | Data | 5 decembrie 2024 19:31:47 | |
---|---|---|---|
Problema | Transport | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:5:1: error: expected ',' or ';' before 'ofstream'
5 | ofstream fout("transport.out")
| ^~~~~~~~
main.cpp: In function 'int main()':
main.cpp:15:14: error: 'v' was not declared in this scope
15 | fin>>v[i];
| ^
main.cpp:29:27: error: 'v' was not declared in this scope
29 | if(v_incarcat+v[i]>mijl)
| ^
main.cpp:46:5: error: 'fout' was not declared in this scope
46 | fout<<sol;
| ^~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !