Borderou de evaluare (job #1389336)
Utilizator | Data | 16 martie 2015 10:30:18 | |
---|---|---|---|
Problema | CMMDC | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:9:17: error: variable ‘std::ifstream fin’ has initializer but incomplete type
ifstream fin("cmmdc.in");
^
user.cpp:10:18: error: variable ‘std::ofstream fout’ has initializer but incomplete type
ofstream fout("cmmdc.out");
^
user.cpp: At global scope:
user.cpp:20:1: error: expected unqualified-id before ‘if’
if(a==1)
^
user.cpp:22:1: error: expected unqualified-id before ‘else’
else
^
user.cpp:24:1: error: expected unqualified-id before ‘return’
return 0;
^
user.cpp:25:1: error: expected declaration before ‘}’ token
}
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !