Borderou de evaluare (job #1299427)
Utilizator | Data | 23 decembrie 2014 17:27:43 | |
---|---|---|---|
Problema | Bunicu | Status | done |
Runda | Happy Birthday Infoarena 2014 | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:5:6: error: expected unqualified-id before ‘xor’ token
void xor(){
^
user.cpp: In function ‘int main()’:
user.cpp:25:4: error: expected primary-expression before ‘xor’ token
xor();
^
user.cpp:25:8: error: expected primary-expression before ‘)’ token
xor();
^
user.cpp:13:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bunicu.in","r",stdin);
^
user.cpp:14:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bunicu.out","w",stdout);
^
user.cpp:24:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets (nr1);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !