Borderou de evaluare (job #1493348)
Utilizator | Data | 29 septembrie 2015 08:13:02 | |
---|---|---|---|
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:42:14: error: expected primary-expression before ‘<<’ token
#define endl << '\n'
^
user.cpp:61:22: note: in expansion of macro ‘endl’
cout << a + b << endl;
^
user.cpp:55:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("adunare.in","r",stdin);
^
user.cpp:58:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("adunare.out","w",stdout);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !