Borderou de evaluare (job #1004037)
Utilizator | Data | 1 octombrie 2013 22:36:29 | |
---|---|---|---|
Problema | A+B | 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:7:13: error: variable ‘std::ifstream in’ has initializer but incomplete type
ifstream in("adunare.in")
^
user.cpp:8:2: error: expected ‘,’ or ‘;’ before ‘ofstream’
ofstream out("adunare.out")
^
user.cpp:11:6: error: ‘x’ was not declared in this scope
cin>>x;
^
user.cpp:12:6: error: ‘y’ was not declared in this scope
cin>>y;
^
user.cpp:13:1: error: ‘z’ was not declared in this scope
z =x + y;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !