Borderou de evaluare (job #1389265)
Utilizator | Data | 16 martie 2015 09:38:32 | |
---|---|---|---|
Problema | Curent | 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:29:21: error: ‘y’ was not declared in this scope
scanf("%d",&y);
^
user.cpp:25:11: warning: unused variable ‘m’ [-Wunused-variable]
int n,m,i,j;
^
user.cpp:25:15: warning: unused variable ‘j’ [-Wunused-variable]
int n,m,i,j;
^
user.cpp:23:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("curent.in","r",stdin);
^
user.cpp:24:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("curent.out","w",stdout);
^
user.cpp:26:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !