Borderou de evaluare (job #1243125)
| Utilizator | Data | 15 octombrie 2014 16:52:57 | |
|---|---|---|---|
| Problema | A+B | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
user.cpp:1:14: error: expected ‘{’ before ‘;’ token
namespace std;
^
user.cpp: In function ‘int std::main()’:
user.cpp:7:2: error: ‘ifstream’ was not declared in this scope
ifstream f("adunare.in");
^
user.cpp:7:11: error: expected ‘;’ before ‘f’
ifstream f("adunare.in");
^
user.cpp:8:2: error: ‘ofstream’ was not declared in this scope
ofstream g("adunare.out");
^
user.cpp:8:11: error: expected ‘;’ before ‘g’
ofstream g("adunare.out");
^
user.cpp:9:2: error: ‘f’ was not declared in this scope
f >> a;
^
user.cpp:11:2: error: ‘g’ was not declared in this scope
g << a + b << endl;
^
user.cpp:11:16: error: ‘endl’ was not declared in this scope
g << a + b << endl;
^
user.cpp: At global scope:
user.cpp:13:1: error: expected ‘}’ at end of input
}
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
