Borderou de evaluare (job #1995755)

Utilizator richieYRichie Yeung richieY Data 29 iunie 2017 01:33:06
Problema Xor Max Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:9:13: error: expected primary-expression before ‘<’ token int trie[1<<<23]; ^ user.cpp: In function ‘void insert(long long int)’: user.cpp:29:9: error: ‘trie’ was not declared in this scope trie[k] = 1; ^ user.cpp:31:5: error: ‘trie’ was not declared in this scope trie[k] = z; ^ user.cpp: In function ‘std::pair<long long int, int> path(long int)’: user.cpp:45:16: error: ‘trie’ was not declared in this scope if(trie[(k << 1) + 1LL] >= 0) { ^ user.cpp:54:16: error: ‘trie’ was not declared in this scope if(trie[(k << 1) + 2LL] >= 0) { ^ user.cpp:68:27: error: ‘trie’ was not declared in this scope return make_pair(ans, trie[k]); ^ user.cpp: In function ‘int main()’: user.cpp:85:5: error: ‘trie’ was not declared in this scope trie[0] = 1; ^ user.cpp: In function ‘std::pair<long long int, int> path(long int)’: user.cpp:69:1: warning: control reaches end of non-void function [-Wreturn-type] } ^

Ceva nu functioneaza?