Borderou de evaluare (job #1396557)
Utilizator | Data | 22 martie 2015 18:05:11 | |
---|---|---|---|
Problema | A+B | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:3:6: warning: ISO C++ forbids declaration of ‘main’ with no type [-Wreturn-type]
main()
^
user.cpp: In function ‘int main()’:
user.cpp:6:14: error: variable ‘std::ifstream f’ has initializer but incomplete type
ifstream f("adunare.in");
^
user.cpp:7:14: error: variable ‘std::ofstream g’ has initializer but incomplete type
ofstream g("adunare.out")
^
user.cpp:8:4: error: expected ‘,’ or ‘;’ before ‘f’
f>>a>>b;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !