Borderou de evaluare (job #3232217)
Utilizator | Data | 29 mai 2024 11:48:08 | |
---|---|---|---|
Problema | Secv8 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void Merge(Treap*, Treap*, Treap*, int)':
main.cpp:64:18: error: too few arguments to function 'void Merge(Treap*, Treap*, Treap*, int)'
64 | Merge(a->R,a->R,b);
| ~~~~~^~~~~~~~~~~~~
main.cpp:49:6: note: declared here
49 | void Merge(Treap *T,Treap *a,Treap *b,int add)
| ^~~~~
main.cpp:69:18: error: too few arguments to function 'void Merge(Treap*, Treap*, Treap*, int)'
69 | Merge(b->L,a,b->L);
| ~~~~~^~~~~~~~~~~~~
main.cpp:49:6: note: declared here
49 | void Merge(Treap *T,Treap *a,Treap *b,int add)
| ^~~~~
main.cpp: In function 'void Split(Treap*, int, Treap*, Treap*, int)':
main.cpp:91:18: error: too few arguments to function 'void Split(Treap*, int, Treap*, Treap*, int)'
91 | Split(T->L,x,l,r);
| ~~~~~^~~~~~~~~~~~
main.cpp:77:6: note: declared here
77 | void Split(Treap *T,int x,Treap *l,Treap *r,int add)
| ^~~~~
main.cpp:92:18: error: too few arguments to function 'void Merge(Treap*, Treap*, Treap*, int)'
92 | Merge(r,r,T->R);
| ~~~~~^~~~~~~~~~
main.cpp:49:6: note: declared here
49 | void Merge(Treap *T,Treap *a,Treap *b,int add)
| ^~~~~
main.cpp:96:18: error: too few arguments to function 'void Split(Treap*, int, Treap*, Treap*, int)'
96 | Split(T->R,x,l,r);
| ~~~~~^~~~~~~~~~~~
main.cpp:77:6: note: declared here
77 | void Split(Treap *T,int x,Treap *l,Treap *r,int add)
| ^~~~~
main.cpp:97:18: error: too few arguments to function 'void Merge(Treap*, Treap*, Treap*, int)'
97 | Merge(l,T->L,l);
| ~~~~~^~~~~~~~~~
main.cpp:49:6: note: declared here
49 | void Merge(Treap *T,Treap *a,Treap *b,int add)
| ^~~~~
main.cpp: In function 'void Insert(Treap*, Treap*, int)':
main.cpp:114:18: error: too few arguments to function 'void Split(Treap*, int, Treap*, Treap*, int)'
114 | Split(T,t->key,t->L,t->R);
| ~~~~~^~~~~~~~~~~~~~~~~~~~
main.cpp:77:6: note: declared here
77 | void Split(Treap *T,int x,Treap *l,Treap *r,int add)
| ^~~~~
main.cpp:120:23: error: too few arguments to function 'void Insert(Treap*, Treap*, int)'
120 | Insert(T->L,t);
| ~~~~~~^~~~~~~~
main.cpp:104:6: note: declared here
104 | void Insert(Treap *T,Treap *t,int add)
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !