Borderou de evaluare (job #2236833)
Utilizator | Data | 30 august 2018 19:12:46 | |
---|---|---|---|
Problema | Dame | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:1:1: error: ‘include’ does not name a type
include<fstream>
^~~~~~~
user.cpp:3:1: error: ‘ifstream’ does not name a type
ifstream fi("dame.in");
^~~~~~~~
user.cpp:4:1: error: ‘ofstream’ does not name a type
ofstream fo("dame.out");
^~~~~~~~
user.cpp: In function ‘int main()’:
user.cpp:8:5: error: ‘fi’ was not declared in this scope
fi>>n;
^~
user.cpp:11:9: error: ‘fo’ was not declared in this scope
fo<<"1\n";
^~
user.cpp:19:9: error: ‘fo’ was not declared in this scope
fo<<"2\n";
^~
user.cpp:26:5: error: ‘fo’ was not declared in this scope
fo<<n<<"\n";
^~
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !