Borderou de evaluare (job #2454010)
Utilizator | Data | 7 septembrie 2019 02:40:10 | |
---|---|---|---|
Problema | Taxa | 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:52:19: error: 'gets' was not declared in this scope
gets( buf );
^
main.cpp:50:9: warning: unused variable 'i' [-Wunused-variable]
int i;
^
main.cpp:44:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("taxa.in", "r", stdin);
^
main.cpp:45:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("taxa.out", "w", stdout);
^
main.cpp:47:56: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%hd%hd%hd%hd%hd%hd\n",&N,&M,&l0,&c0,&lf,&cf);
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !