Borderou de evaluare (job #2192463)
Utilizator | Data | 6 aprilie 2018 09:02:56 | |
---|---|---|---|
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:5:5: error: expected ‘,’ or ‘;’ before ‘ofstream’
ofstream fout("cmmdc.out")
^~~~~~~~
user.cpp:7:10: error: ‘a’ was not declared in this scope
fin>>a>>b;
^
user.cpp:7:13: error: ‘b’ was not declared in this scope
fin>>a>>b;
^
user.cpp:8:5: error: ‘r’ was not declared in this scope
r=a-b;
^
user.cpp:14:5: error: ‘fout’ was not declared in this scope
fout<<b;
^~~~
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !