Borderou de evaluare (job #1683072)
Utilizator | Data | 10 aprilie 2016 13:54:16 | |
---|---|---|---|
Problema | Clasament | Status | done |
Runda | Algoritmiada 2016 Runda 3 Juniori | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:8:16: error: ‘n’ was not declared in this scope
scanf("%d %d",&n,&m);
^
user.cpp:8:19: error: ‘m’ was not declared in this scope
scanf("%d %d",&n,&m);
^
user.cpp:10:13: error: ‘x’ was not declared in this scope
scanf("%d",&x);
^
user.cpp:11:1: error: ‘ap’ was not declared in this scope
ap[x]++;
^
user.cpp:13:4: error: ‘ap’ was not declared in this scope
if(ap[1]==n){
^
user.cpp:14:1: error: ‘s’ was not declared in this scope
s=1;
^
user.cpp:6:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
{freopen("clasament.in","r",stdin);
^
user.cpp:7:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("clasament.out","w",stdout);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !