Borderou de evaluare (job #3195264)
| Utilizator | Data | 20 ianuarie 2024 12:44:08 | |
|---|---|---|---|
| Problema | Energii | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
main.cpp:6:10: error: conflicting declaration 'std::ofstream fin'
6 | ofstream fin ("energii.out");
| ^~~
main.cpp:5:10: note: previous declaration as 'std::ifstream fin'
5 | ifstream fin (" energii.in");
| ^~~
main.cpp: In function 'int main()':
main.cpp:26:5: error: 'fout' was not declared in this scope
26 | fout << w[W];
| ^~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
