Borderou de evaluare (job #2484040)
Utilizator | Data | 30 octombrie 2019 17:23:09 | |
---|---|---|---|
Problema | Struti | 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:98:24: error: 'dx' was not declared in this scope
scanf("%d %d",&dx,&dy);
^~
main.cpp:98:28: error: 'dy' was not declared in this scope
scanf("%d %d",&dx,&dy);
^~
main.cpp:89:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("struti.in","r",stdin);
^
main.cpp:90:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("struti.out","w",stdout);
^
main.cpp:91:31: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d",&n,&m,&p);
^
main.cpp:94:35: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&mat[i][j]);
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !