Borderou de evaluare (job #1356946)
Utilizator | Data | 23 februarie 2015 17:46:24 | |
---|---|---|---|
Problema | Exp | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:4:12: error: variable ‘std::fstream fin’ has initializer but incomplete type
fstream fin("exp.in",ios::in),fout("exp.out",ios::out);
^
user.cpp:4:22: error: incomplete type ‘std::ios {aka std::basic_ios<char>}’ used in nested name specifier
fstream fin("exp.in",ios::in),fout("exp.out",ios::out);
^
user.cpp:4:35: error: variable ‘std::fstream fout’ has initializer but incomplete type
fstream fin("exp.in",ios::in),fout("exp.out",ios::out);
^
user.cpp:4:46: error: incomplete type ‘std::ios {aka std::basic_ios<char>}’ used in nested name specifier
fstream fin("exp.in",ios::in),fout("exp.out",ios::out);
^
user.cpp: In function ‘int main()’:
user.cpp:17:20: warning: left operand of comma operator has no effect [-Wunused-value]
fin>>("%d %d",&m,&n);
^
user.cpp:17:23: warning: right operand of comma operator has no effect [-Wunused-value]
fin>>("%d %d",&m,&n);
^
user.cpp:20:21: warning: left operand of comma operator has no effect [-Wunused-value]
fin>>("%d",&x);
^
user.cpp:38:32: warning: left operand of comma operator has no effect [-Wunused-value]
fout<<("%d %d\n",prim[i],pt[i]/m);
^
user.cpp:38:32: warning: right operand of comma operator has no effect [-Wunused-value]
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !