Borderou de evaluare (job #3345240)
| Utilizator | Data | 8 martie 2026 17:18:00 | |
|---|---|---|---|
| Problema | Xor Max | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:20:27: error: 'c' was not declared in this scope
20 | for(j=0;j<21;j++) c[j]=(bool)(s[i]&(1<<(20-j)));
| ^
main.cpp:23:31: error: 'c' was not declared in this scope
23 | if(trie[(nod<<1)+!c[j]]>0) nod=(nod<<1)+(!c[j]);
| ^
main.cpp:27:24: error: 'sol' was not declared in this scope
27 | if((s[i]^s[j])>sol){
| ^~~
main.cpp:34:23: error: 'c' was not declared in this scope
34 | nod=nod*2+c[j];
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
