Borderou de evaluare (job #1480097)

Utilizator theprdvtheprdv theprdv Data 2 septembrie 2015 02:30:02
Problema Facebook Search Status done
Runda Arhiva ICPC Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:10:1: error: ‘__int8’ does not name a type __int8 son; ^ user.cpp:16:2: error: ‘__int8’ does not name a type __int8 best, sons; ^ user.cpp: In constructor ‘Trie::Trie()’: user.cpp:22:3: error: ‘sons’ was not declared in this scope sons = 0; ^ user.cpp: In function ‘void clear(Trie*)’: user.cpp:28:35: error: ‘struct Trie’ has no member named ‘sons’ for (int i = 0; i < 52 && node->sons; ++i) ^ user.cpp: In function ‘void insert(Trie*, char*)’: user.cpp:42:11: error: ‘struct Trie’ has no member named ‘sons’ ++node->sons; ^ user.cpp:47:51: error: ‘struct Trie’ has no member named ‘best’ if (Rel < sonRel || (Rel == sonRel && CH < node->best)) ^ user.cpp:48:32: error: ‘struct Trie’ has no member named ‘best’ node->sonRel = sonRel, node->best = CH; ^ user.cpp: In function ‘void query(Trie*, char*)’: user.cpp:54:16: error: ‘struct Trie’ has no member named ‘sons’ for (; node->sons && node->rel < node->sonRel; node = node->son[node->best]){ ^ user.cpp:54:73: error: ‘struct Trie’ has no member named ‘best’ for (; node->sons && node->rel < node->sonRel; node = node->son[node->best]){ ^ user.cpp:55:23: error: ‘struct Trie’ has no member named ‘best’ ans[pos++] = node->best + (node->best < 26 ? 'A' : 'a' - 26); ^ user.cpp:55:37: error: ‘struct Trie’ has no member named ‘best’ ans[pos++] = node->best + (node->best < 26 ? 'A' : 'a' - 26); ^ user.cpp:65:2: error: ‘son’ was not declared in this scope son = CH; ^ user.cpp: In function ‘void update(Trie*, char*)’: user.cpp:82:2: error: ‘__int8’ was not declared in this scope __int8 son = CH; ^ user.cpp:82:9: error: expected ‘;’ before ‘son’ __int8 son = CH; ^ user.cpp:83:6: error: ‘son’ was not declared in this scope if (son >= 26 && !node->son[son]) ^

Ceva nu functioneaza?