Borderou de evaluare (job #3146923)
Utilizator | Data | 23 august 2023 10:59:58 | |
---|---|---|---|
Problema | Xor Max | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:17:7: error: expected initializer before 'vec'
17 | }Trie vec[2000001];
| ^~~
main.cpp: In function 'void cauta(int, int, int)':
main.cpp:24:28: error: 'vec' was not declared in this scope
24 | if((sor[poz] ^ sor[vec[nod].lastAp]) > (sor[dr] ^ sor[st]))
| ^~~
main.cpp:34:8: error: 'vec' was not declared in this scope
34 | if(vec[nod].fiu[f] == -1)
| ^~~
main.cpp: In function 'void baga(int, int, int)':
main.cpp:44:9: error: 'vec' was not declared in this scope
44 | vec[nod].lastAp = poz;
| ^~~
main.cpp:50:8: error: 'vec' was not declared in this scope
50 | if(vec[nod].fiu[f] == -1)
| ^~~
main.cpp:52:10: error: 'vec' was not declared in this scope
52 | baga(vec[nod].fiu[f], poz, bit - 1);
| ^~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !