Borderou de evaluare (job #1947803)
Utilizator | Militaru Teodora TeoMili | Data | 31 martie 2017 13:14:10 |
---|---|---|---|
Problema | Pesti | 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:9:10: error: ‘n’ was not declared in this scope
cin>>n>>x;
^
user.cpp:9:13: error: ‘x’ was not declared in this scope
cin>>n>>x;
^
user.cpp:10:9: error: ‘i’ was not declared in this scope
for(i=1;i<=n;i++)
^
user.cpp:11:9: error: ‘v’ was not declared in this scope
v[i]=i;
^
user.cpp:12:5: error: ‘nr’ was not declared in this scope
nr[1]=n;
^
user.cpp:13:5: error: ‘ok’ was not declared in this scope
ok=1;
^
user.cpp:14:5: error: ‘nrg’ was not declared in this scope
nrg=1;
^
user.cpp:16:9: error: ‘nre’ was not declared in this scope
nre=1;
^
user.cpp:17:9: error: ‘st’ was not declared in this scope
st=1;
^
user.cpp:18:9: error: ‘nrgc’ was not declared in this scope
nrgc=1;
^
user.cpp:19:13: error: ‘i’ was not declared in this scope
for(i=2;i<=n;i++){
^
user.cpp:20:16: error: ‘v’ was not declared in this scope
if(v[i]>v[i-1])
^
user.cpp:24:17: error: ‘dr’ was not declared in this scope
dr=i-1;
^
user.cpp:26:17: error: ‘imp’ was not declared in this scope
imp=1;
^
user.cpp:28:21: error: ‘par’ was not declared in this scope
par=nre/2+1;
^
user.cpp:30:21: error: ‘par’ was not declared in this scope
par=nre/2;
^
user.cpp:31:21: error: ‘j’ was not declared in this scope
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !