Borderou de evaluare (job #1486940)
Utilizator | Data | 15 septembrie 2015 19:09:50 | |
---|---|---|---|
Problema | Chernel | 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:12:1: error: expected ‘}’ at end of input
}
^
user.cpp:5:94: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("chernel.in","r",stdin),freopen("chernel.out","w",stdout),scanf("%d%d",&n,&m),n--;
^
user.cpp:5:94: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp:5:94: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !