Borderou de evaluare (job #1650020)
Utilizator | Data | 11 martie 2016 16:12:40 | |
---|---|---|---|
Problema | Cool | 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:22:13: error: ‘v’ was not declared in this scope
v[a[i]]=0;
^
user.cpp:26:14: error: ‘v’ was not declared in this scope
v[a[i]]++;
^
user.cpp:29:16: error: ‘v’ was not declared in this scope
if(v[a[i]]==1) d++;
^
user.cpp:7:19: warning: unused variable ‘ok’ [-Wunused-variable]
int n,a[5001],ok,nrsec=0,lsec=1,min,max,i,j,s,k,test,p,d;
^
user.cpp:7:22: warning: unused variable ‘nrsec’ [-Wunused-variable]
int n,a[5001],ok,nrsec=0,lsec=1,min,max,i,j,s,k,test,p,d;
^
user.cpp:7:30: warning: unused variable ‘lsec’ [-Wunused-variable]
int n,a[5001],ok,nrsec=0,lsec=1,min,max,i,j,s,k,test,p,d;
^
user.cpp:7:47: warning: unused variable ‘j’ [-Wunused-variable]
int n,a[5001],ok,nrsec=0,lsec=1,min,max,i,j,s,k,test,p,d;
^
user.cpp:7:49: warning: unused variable ‘s’ [-Wunused-variable]
int n,a[5001],ok,nrsec=0,lsec=1,min,max,i,j,s,k,test,p,d;
^
user.cpp:7:51: warning: unused variable ‘k’ [-Wunused-variable]
int n,a[5001],ok,nrsec=0,lsec=1,min,max,i,j,s,k,test,p,d;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !