Borderou de evaluare (job #1574914)
Utilizator | Data | 20 ianuarie 2016 22:18:33 | |
---|---|---|---|
Problema | Paritate | 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 f("paritate.in");
^
user.cpp:4:1: error: ‘ofstream’ does not name a type
ofstream g("paritate.out");
^
user.cpp: In function ‘int main()’:
user.cpp:13:8: error: ‘f’ was not declared in this scope
while(f>>z)
^
user.cpp:39:3: error: ‘g’ was not declared in this scope
g<<"DA\n";
^
user.cpp:45:3: error: ‘g’ was not declared in this scope
g<<"NU\n";
^
user.cpp:54:2: error: ‘f’ was not declared in this scope
f.close();
^
user.cpp:55:2: error: ‘g’ was not declared in this scope
g.close();
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !