Borderou de evaluare (job #1254845)
| Utilizator | Data | 3 noiembrie 2014 16:43:51 | |
|---|---|---|---|
| Problema | Range minimum query | Status | done |
| Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
user.cpp:2:1: error: declaration does not declare anything [-fpermissive]
int ;
^
user.cpp: In function ‘int main()’:
user.cpp:10:19: error: ‘n’ was not declared in this scope
scanf("%d%d",&n,&m);
^
user.cpp:10:22: error: ‘m’ was not declared in this scope
scanf("%d%d",&n,&m);
^
user.cpp:11:9: error: ‘i’ was not declared in this scope
for(i=1;i<=n;i++)
^
user.cpp:13:21: error: ‘x’ was not declared in this scope
scanf("%d",&x[i]);
^
user.cpp:14:9: error: ‘dp’ was not declared in this scope
dp[i][0]=x[i];
^
user.cpp:16:9: error: ‘i’ was not declared in this scope
for(i=n;i>=1;i--)
^
user.cpp:18:13: error: ‘j’ was not declared in this scope
for(j=1;(1<<j)+i-1<=n;l++)
^
user.cpp:18:31: error: ‘l’ was not declared in this scope
for(j=1;(1<<j)+i-1<=n;l++)
^
user.cpp:20:13: error: ‘dp’ was not declared in this scope
dp[i+(1<<(j-1))][j-1]
^
user.cpp:21:9: error: expected ‘;’ before ‘}’ token
}
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
