Borderou de evaluare (job #3243590)
Utilizator | Data | 19 septembrie 2024 18:05:36 | |
---|---|---|---|
Problema | Pcost | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:4:1: error: 'ifstream' does not name a type
4 | ifstream fin ("pcost.in");
| ^~~~~~~~
main.cpp:5:1: error: 'ofstream' does not name a type
5 | ofstream fout ("pcost.out");
| ^~~~~~~~
main.cpp: In function 'int main()':
main.cpp:14:5: error: 'fin' was not declared in this scope
14 | fin >> n;
| ^~~
main.cpp:53:5: error: 'fout' was not declared in this scope
53 | fout << sum;
| ^~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !