Borderou de evaluare (job #1996902)
Utilizator | Data | 2 iulie 2017 22:34:14 | |
---|---|---|---|
Problema | A+B | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:2:12: error: pasting "<" and "fstream" does not give a valid preprocessing token
#include x(<)>
^
user.cpp:1:14: note: in definition of macro ‘x’
#define x(k) k##fstream
^
user.cpp:3:6: warning: ISO C++ forbids declaration of ‘main’ with no type [-Wreturn-type]
main(){int a,b;std::x(i)("adunare.in")>>a>>b;std::x(o)("adunare.out")<<a+b;}
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !