Borderou de evaluare (job #1872310)
Utilizator | Data | 8 februarie 2017 08:20:46 | |
---|---|---|---|
Problema | Unuzero | 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:8:21: error: ‘n’ was not declared in this scope
scanf("%d%d%d",&n,&m,&p);
^
user.cpp:8:24: error: ‘m’ was not declared in this scope
scanf("%d%d%d",&n,&m,&p);
^
user.cpp:8:27: error: ‘p’ was not declared in this scope
scanf("%d%d%d",&n,&m,&p);
^
user.cpp:10:5: error: ‘sum’ was not declared in this scope
sum[p]=1;
^
user.cpp:11:22: error: ‘z’ was not declared in this scope
for(int i=p+1;i<=z;i++)
^
user.cpp:14:5: error: expected ‘;’ before ‘}’ token
}
^
user.cpp:6:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("unuzero.in","r",stdin);
^
user.cpp:7:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("unuzero.out","w",stdout);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !