Borderou de evaluare (job #1722518)
Utilizator | Data | 28 iunie 2016 12:22:09 | |
---|---|---|---|
Problema | Proc2 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:7:5: error: expected unqualified-id before ‘[’ token
bool[4*nmax] arb;
^
user.cpp: In function ‘void update(int, int, int)’:
user.cpp:14:9: error: ‘arb’ was not declared in this scope
arb[nod]=val;
^
user.cpp:20:8: error: ‘arb’ was not declared in this scope
if(arb[2*nod]==0||arb[2*nod+1]==0) arb[nod]=0;
^
user.cpp: In function ‘void query(int, int, int)’:
user.cpp:31:8: error: ‘arb’ was not declared in this scope
if(arb[2*nod]==0) query(2*nod,l,m);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !