Borderou de evaluare (job #104762)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Trie (clasele 11 și 12) | Compilator | cpp |
Rundă | Tema 11 clasele 11-12 2014/15 | Status | evaluat |
Dată | 14 ian. 2015 13:29:55 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:7:26: sorry, unimplemented: non-static data member initializers
user.cpp:7:26: error: ISO C++ forbids in-class initialization of non-const static member ‘word_count’
user.cpp:7:44: sorry, unimplemented: non-static data member initializers
user.cpp:7:44: error: ISO C++ forbids in-class initialization of non-const static member ‘branch_count’
user.cpp:8:47: error: ‘void* operator new [](unsigned int)’ is not ‘constexpr’
user.cpp:8:47: sorry, unimplemented: non-static data member initializers
user.cpp:8:47: error: ‘constexpr’ needed for in-class initialization of static data member ‘branches’ of non-integral type
user.cpp: In destructor ‘Node::~Node()’:
user.cpp:15:16: error: ‘branches’ was not declared in this scope
user.cpp: In member function ‘void Node::AddBranch(Node*)’:
user.cpp:18:9: error: ‘branches’ was not declared in this scope
user.cpp: In member function ‘void Node::nullify()’:
user.cpp:24:17: error: ‘branches’ was not declared in this scope
user.cpp: In function ‘void AddWord(char*, Node*)’:
user.cpp:30:19: warning: NULL used in arithmetic [-Wpointer-arith]
user.cpp:34:15: error: ‘class Node’ has no member named ‘branches’
user.cpp:38:27: error: ‘class Node’ has no member named ‘branches’
user.cpp: In function ‘void EraseWord(char*, Node*)’:
user.cpp:41:19: warning: NULL used in arithmetic [-Wpointer-arith]
user.cpp:45:29: error: ‘class Node’ has no member named ‘branches’
user.cpp:46:14: error: ‘class Node’ has no member named ‘branches’
user.cpp:46:62: error: ‘class Node’ has no member named ‘branches’
user.cpp:47:22: error: ‘class Node’ has no member named ‘branches’
user.cpp:48:15: error: ‘class Node’ has no member named ‘branches’
user.cpp: In function ‘void PrintWordCount(char*, Node*, FILE*)’:
user.cpp:53:19: warning: NULL used in arithmetic [-Wpointer-arith]
user.cpp:57:34: error: ‘class Node’ has no member named ‘branches’
user.cpp: In function ‘void PrintAffixLength(char*, Node*, int, FILE*)’:
user.cpp:60:14: error: ‘class Node’ has no member named ‘branches’
user.cpp:61:40: error: ‘class Node’ has no member named ‘branches’
user.cpp: In function ‘int main()’:
user.cpp:70:48: warning: format ‘%s’ expects argument of type ‘char*’, but argument 4 has type ‘char (*)[20]’ [-Wformat]