Borderou de evaluare (job #1647772)
| Utilizator | Data | 10 martie 2016 22:01:29 | |
|---|---|---|---|
| Problema | Cpal | Status | done |
| Runda | Arhiva Monthly | Compilator | cpp | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
user.cpp:2:1: error: ‘ifstream’ does not name a type
ifstream fin("cpal.in");
^
user.cpp:3:1: error: ‘ofstream’ does not name a type
ofstream fout("cpal.out");
^
user.cpp: In function ‘int main()’:
user.cpp:15:13: error: ‘fout’ was not declared in this scope
fout<<"\n";
^
user.cpp:19:9: error: ‘fin’ was not declared in this scope
fin>>n;
^
user.cpp:20:14: error: invalid operands of types ‘double’ and ‘int’ to binary ‘operator%’
if(n%2 == 1 )
^
user.cpp:27:9: error: ‘fout’ was not declared in this scope
fout<<0;
^
user.cpp:29:9: error: ‘fout’ was not declared in this scope
fout<<1;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
