Borderou de evaluare (job #1614837)
Utilizator | Data | 26 februarie 2016 10:38:02 | |
---|---|---|---|
Problema | Biscuiti | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void creeaza(int, int, int)’:
user.cpp:10:9: error: ‘A’ was not declared in this scope
A[niv]=st;
^
user.cpp:14:24: error: ‘update’ was not declared in this scope
update(st,mij,niv*2);
^
user.cpp:16:8: error: ‘v’ was not declared in this scope
if(v[A[niv*2]] < v[A[niv*2+1]] ) A[niv]=A[niv*2];
^
user.cpp:16:10: error: ‘A’ was not declared in this scope
if(v[A[niv*2]] < v[A[niv*2+1]] ) A[niv]=A[niv*2];
^
user.cpp: In function ‘void update(int, int, int, int, int, int)’:
user.cpp:22:8: error: ‘lazy’ was not declared in this scope
if(lazy[niv] != 0)
^
user.cpp:24:9: error: ‘v’ was not declared in this scope
v[A[niv]] += lazy[niv];
^
user.cpp:24:11: error: ‘A’ was not declared in this scope
v[A[niv]] += lazy[niv];
^
user.cpp:25:12: error: ‘a’ was not declared in this scope
if(a != b)
^
user.cpp:25:17: error: ‘b’ was not declared in this scope
if(a != b)
^
user.cpp:35:9: error: ‘v’ was not declared in this scope
v[A[niv]]+=val;
^
user.cpp:35:11: error: ‘A’ was not declared in this scope
v[A[niv]]+=val;
^
user.cpp: In function ‘int main()’:
user.cpp:44:17: error: ‘n’ was not declared in this scope
scanf("%d",&n);
^
user.cpp:45:9: error: ‘i’ was not declared in this scope
for(i=1;i<=n;++i) scanf("%d",&v[i]);
^
user.cpp:45:35: error: ‘v’ was not declared in this scope
for(i=1;i<=n;++i) scanf("%d",&v[i]);
^
user.cpp:46:17: error: ‘creaza’ was not declared in this scope
creaza(1,n,1);
^
user.cpp:47:9: error: ‘i’ was not declared in this scope
for(i=1;i<=n;++i)
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !