Borderou de evaluare (job #1519651)
Utilizator | Data | 7 noiembrie 2015 17:49:52 | |
---|---|---|---|
Problema | Schi | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void update(int, int, int)’:
user.cpp:20:52: error: too many arguments to function ‘void update(int, int, int)’
if(poz<=mid) update(2*nod, l, mid, poz, val);
^
user.cpp:13:6: note: declared here
void update(int nod, int l, int r)
^
user.cpp:21:48: error: too many arguments to function ‘void update(int, int, int)’
else update(2*nod+1, mid+1, r, poz, val);
^
user.cpp:13:6: note: declared here
void update(int nod, int l, int r)
^
user.cpp: In function ‘void query(int, int, int)’:
user.cpp:35:49: error: too many arguments to function ‘void query(int, int, int)’
if(x<=mid) query(2*nod, l, mid, x, y);
^
user.cpp:28:6: note: declared here
void query(int nod, int l, int r)
^
user.cpp:36:52: error: too many arguments to function ‘void query(int, int, int)’
if(y>mid) query(2*nod+1, mid+1, r, x, y);
^
user.cpp:28:6: note: declared here
void query(int nod, int l, int r)
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !