Borderou de evaluare (job #2132512)
Utilizator | Data | 15 februarie 2018 20:15:28 | |
---|---|---|---|
Problema | Pic | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:5:17: error: conflicting declaration ‘int v’
int v[555][555],v,n,s=0,smax=0,adr,ok1=1,x,y,ver=0,timp=0,ok=0;
^
user.cpp:5:5: note: previous declaration as ‘int v [555][555]’
int v[555][555],v,n,s=0,smax=0,adr,ok1=1,x,y,ver=0,timp=0,ok=0;
^
user.cpp: In function ‘int main()’:
user.cpp:11:10: error: ‘p’ was not declared in this scope
fin>>p>>n;
^
user.cpp:30:5: error: ‘st’ was not declared in this scope
st=timp;
^
user.cpp:31:5: error: ‘dr’ was not declared in this scope
dr=LLONG_MAX;
^
user.cpp:35:9: error: ‘mij’ was not declared in this scope
mij=(st+dr)/2;
^
user.cpp:38:9: error: ‘vf’ was not declared in this scope
vf[x][y]=mij-v[x][y];
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !