Borderou de evaluare (job #1978241)
Utilizator | Data | 7 mai 2017 10:57:42 | |
---|---|---|---|
Problema | Order | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In constructor ‘treap::treap(int, int, treap*, treap*)’:
user.cpp:11:16: warning: ‘treap::dr’ will be initialized after [-Wreorder]
treap *st,*dr;
^
user.cpp:10:16: warning: ‘int treap::nr’ [-Wreorder]
int key,pr,nr;
^
user.cpp:13:5: warning: when initialized here [-Wreorder]
treap(int _key, int _pr, treap *_st, treap *_dr) : key(_key) , pr(_pr) , st(_st) , dr(_dr) , nr(0){};
^
user.cpp: In function ‘void add(treap*&, int, int)’:
user.cpp:46:14: error: ‘nill’ was not declared in this scope
if (t == nill)
^
user.cpp: In function ‘void dell(treap*&, int)’:
user.cpp:81:20: error: ‘split’ was not declared in this scope
split(t,key,l,r);
^
user.cpp: In function ‘int main()’:
user.cpp:93:10: 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 !