Borderou de evaluare (job #1789621)
Utilizator | Data | 27 octombrie 2016 11:47:43 | |
---|---|---|---|
Problema | Distincte | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:4:1: error: declaration does not declare anything [-fpermissive]
int ;
^
user.cpp: In function ‘bool cmp(andreea, andreea)’:
user.cpp:12:14: error: ‘aint’ was not declared in this scope
return 1;aint[nod]=aint[nod*2]+aint[nod*2+1];
^
user.cpp:12:19: error: ‘nod’ was not declared in this scope
return 1;aint[nod]=aint[nod*2]+aint[nod*2+1];
^
user.cpp: In function ‘void update(int, int, int, int, int)’:
user.cpp:19:9: error: ‘aint’ was not declared in this scope
aint[nod]=val;
^
user.cpp:25:5: error: ‘aint’ was not declared in this scope
aint[nod]=(aint[nod*2]+aint[nod*2+1])%666013;
^
user.cpp: In function ‘void query(int, int, int, int, int)’:
user.cpp:32:9: error: ‘sol’ was not declared in this scope
sol=sol+aint[nod];
^
user.cpp:32:17: error: ‘aint’ was not declared in this scope
sol=sol+aint[nod];
^
user.cpp: In function ‘int main()’:
user.cpp:43:21: error: ‘n’ was not declared in this scope
scanf("%d%d%d",&n,&k,&m);
^
user.cpp:43:24: error: ‘k’ was not declared in this scope
scanf("%d%d%d",&n,&k,&m);
^
user.cpp:43:27: error: ‘m’ was not declared in this scope
scanf("%d%d%d",&n,&k,&m);
^
user.cpp:44:9: error: ‘i’ was not declared in this scope
for(i=1;i<=n;i++)
^
user.cpp:45:21: error: ‘a’ was not declared in this scope
scanf("%d",&a[i]);
^
user.cpp:46:9: error: ‘i’ was not declared in this scope
for(i=1;i<=n;i++)
^
user.cpp:48:9: error: ‘prec’ was not declared in this scope
prec[i]=v[a[i]];
^
user.cpp:48:17: error: ‘v’ was not declared in this scope
prec[i]=v[a[i]];
^
user.cpp:48:19: error: ‘a’ was not declared in this scope
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !