Borderou de evaluare (job #2496905)
Utilizator | Data | 21 noiembrie 2019 20:22:18 | |
---|---|---|---|
Problema | Rj | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void lee(int, int, int (*)[105])':
main.cpp:18:13: warning: unused variable 'j' [-Wunused-variable]
int i , j;
^
main.cpp: In function 'int main()':
main.cpp:46:19: error: 'gets' was not declared in this scope
gets(s + 1);
^
main.cpp:40:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("rj.in" , "r" , stdin);
^
main.cpp:41:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("rj.out" , "w" , stdout);
^
main.cpp:43:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d\n" , &n , &m);
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !