Borderou de evaluare (job #2028611)
Utilizator | Data | 28 septembrie 2017 10:04:44 | |
---|---|---|---|
Problema | Culori3 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:3:1: error: ‘ifstream’ does not name a type
ifstream f("culori3.in");
^
user.cpp:4:1: error: ‘ofstream’ does not name a type
ofstream g("culori3.out");
^
user.cpp: In function ‘int main()’:
user.cpp:18:2: error: ‘f’ was not declared in this scope
{f>>n;
^
user.cpp:19:10: error: ‘g’ was not declared in this scope
if(n==1)g<<5;
^
user.cpp:20:15: error: ‘g’ was not declared in this scope
else if(n==2)g<<8;
^
user.cpp:21:16: error: ‘g’ was not declared in this scope
else if(n==3)g<<14;
^
user.cpp:28:5: error: ‘g’ was not declared in this scope
g<<A[i];
^
user.cpp:37:5: error: ‘g’ was not declared in this scope
g<<A[i];
^
user.cpp:40:3: 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 !