Borderou de evaluare (job #2253571)
Utilizator | Data | 4 octombrie 2018 09:59:58 | |
---|---|---|---|
Problema | Euro2 | 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:8: error: ‘n’ was not declared in this scope
{ f>>n;f>>v[1];a[1]=1;k=1;
^
user.cpp:8:13: error: ‘v’ was not declared in this scope
{ f>>n;f>>v[1];a[1]=1;k=1;
^
user.cpp:8:18: error: ‘a’ was not declared in this scope
{ f>>n;f>>v[1];a[1]=1;k=1;
^
user.cpp:8:25: error: ‘k’ was not declared in this scope
{ f>>n;f>>v[1];a[1]=1;k=1;
^
user.cpp:9:9: error: ‘i’ was not declared in this scope
for(i=2;i<=n;i++){
^
user.cpp:11:9: error: ‘st’ was not declared in this scope
st=1;dr=k;poz=k+1;
^~
user.cpp:11:14: error: ‘dr’ was not declared in this scope
st=1;dr=k;poz=k+1;
^~
user.cpp:11:19: error: ‘poz’ was not declared in this scope
st=1;dr=k;poz=k+1;
^~~
user.cpp:13:13: error: ‘mid’ was not declared in this scope
mid=(st+dr)/2;
^~~
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !