Borderou de evaluare (job #2755796)
Utilizator | Data | 28 mai 2021 10:33:13 | |
---|---|---|---|
Problema | Pang Bang | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:64:18: error: 's' was not declared in this scope
FO(pang);s
^
main.cpp:11:42: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
#define FO(x) {freopen(#x".in","r",stdin);freopen(#x".out","w",stdout);}
^
main.cpp:64:9: note: in expansion of macro 'FO'
FO(pang);s
^~
main.cpp:11:71: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
#define FO(x) {freopen(#x".in","r",stdin);freopen(#x".out","w",stdout);}
^
main.cpp:64:9: note: in expansion of macro 'FO'
FO(pang);s
^~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !