Borderou de evaluare (job #1086004)
Utilizator | Data | 17 ianuarie 2014 17:19:50 | |
---|---|---|---|
Problema | Numere Prime | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:5:1: error: ‘ifstream’ does not name a type
ifstream f("prim.in");
^
user.cpp:6:1: error: ‘ofstream’ does not name a type
ofstream g("prim.out");
^
user.cpp: In function ‘int main()’:
user.cpp:10:5: error: ‘f’ was not declared in this scope
f>>k;f.close();
^
user.cpp:18:12: error: ‘g’ was not declared in this scope
g<<i*i<<endl;gasit=1;
^
user.cpp:18:20: error: ‘endl’ was not declared in this scope
g<<i*i<<endl;gasit=1;
^
user.cpp:22:5: error: ‘g’ was not declared in this scope
g.close();return 0;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !