Borderou de evaluare (job #2069104)
Utilizator | Matei Staicu smatei16 | Data | 18 noiembrie 2017 12:00:41 |
---|---|---|---|
Problema | Bool | 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:9:11: error: too few arguments to function ‘int scanf(const char*, ...)’
scanf()
^
In file included from /usr/include/c++/4.8/cstdio:42:0,
from user.cpp:1:
/usr/include/stdio.h:437:12: note: declared here
extern int scanf (__const char *__restrict __format, ...) __wur;
^
user.cpp:11:5: error: expected ‘;’ before ‘return’
return 0;
^
user.cpp:7:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bool.in","r",stdin);
^
user.cpp:8:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bool.out","w",stdout);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !