Borderou de evaluare (job #1010958)
Utilizator | Data | 15 octombrie 2013 22:54:25 | |
---|---|---|---|
Problema | Reactivi | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:4:1: error: ‘ifstream’ does not name a type
ifstream f;
^
user.cpp:5:1: error: ‘f’ does not name a type
f.open("reactivi.in");
^
user.cpp:6:1: error: ‘ofstream’ does not name a type
ofstream g;
^
user.cpp:7:1: error: ‘g’ does not name a type
g.open("reactivi.out");
^
user.cpp: In function ‘int main()’:
user.cpp:20:3: error: ‘f’ was not declared in this scope
f>>n;
^
user.cpp:33:5: error: ‘g’ was not declared in this scope
g>>nrmin; return 0;
^
user.cpp:17:22: warning: unused variable ‘x’ [-Wunused-variable]
{ int i,j,nrmin,ok,n,x,y;
^
user.cpp:17:24: warning: unused variable ‘y’ [-Wunused-variable]
{ int i,j,nrmin,ok,n,x,y;
^
user.cpp:35:14: error: expected ‘}’ at end of input
g.close();
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !