Borderou de evaluare (job #1749296)
Utilizator | Data | 28 august 2016 11:31:52 | |
---|---|---|---|
Problema | Ultimul Cartus | Status | done |
Runda | Junior Challenge 2016 Runda 2 | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:120:21: error: ‘x’ was not declared in this scope
scanf("%d",&x);
^
user.cpp:71:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ultimulcartus.in","r",stdin);
^
user.cpp:72:44: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ultimulcartus.out","w",stdout);
^
user.cpp:98:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&n,&m);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !