Borderou de evaluare (job #2051172)
Utilizator | Data | 28 octombrie 2017 16:59:48 | |
---|---|---|---|
Problema | Luna | 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:18:13: error: ‘mare’ was not declared in this scope
mare[v[i][j]]=max(mare[v[i][j]],usu[i][j]);
^
user.cpp:18:54: error: ‘max’ was not declared in this scope
mare[v[i][j]]=max(mare[v[i][j]],usu[i][j]);
^
user.cpp:30:12: error: ‘mare’ was not declared in this scope
if(mare[tara]<max(a,b))
^
user.cpp:30:30: error: ‘max’ was not declared in this scope
if(mare[tara]<max(a,b))
^
user.cpp:7:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("luna.in","r",stdin);
^
user.cpp:8:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("luna.out","w",stdout);
^
user.cpp:9:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
user.cpp:14:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i][j]);
^
user.cpp:21:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&k);
^
user.cpp:24:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&tara,&a,&b);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !