Borderou de evaluare (job #1649089)
Utilizator | Data | 11 martie 2016 12:31:14 | |
---|---|---|---|
Problema | Stramosi | 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:17:10: error: ‘m’ was not declared in this scope
if(n*m<=250000)
^
user.cpp:13:15: warning: unused variable ‘j’ [-Wunused-variable]
int nod,i,j,pater,who,nr;
^
user.cpp:13:23: warning: unused variable ‘who’ [-Wunused-variable]
int nod,i,j,pater,who,nr;
^
user.cpp:14:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("stramosi.in","r",stdin);
^
user.cpp:15:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("stramosi.out","w",stdout);
^
user.cpp:16:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m1);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !