0_0_36111380_10376.cpp:2:10: error: empty filename in #include
#include <>
^
0_0_36111380_10376.cpp: In constructor 'Node::Node()':
0_0_36111380_10376.cpp:10:37: error: 'memset' was not declared in this scope
memset(next, 0, sizeof(next));
^
0_0_36111380_10376.cpp: In function 'void Build()':
0_0_36111380_10376.cpp:33:5: error: 'queue' was not declared in this scope
queue <Node*> qu;
^
0_0_36111380_10376.cpp:33:16: error: expected primary-expression before '*' token
queue <Node*> qu;
^
0_0_36111380_10376.cpp:33:17: error: expected primary-expression before '>' token
queue <Node*> qu;
^
0_0_36111380_10376.cpp:33:19: error: 'qu' was not declared in this scope
queue <Node*> qu;
^
0_0_36111380_10376.cpp:43:25: error: 'i' was not declared in this scope
for (int i = 0; i < maxn ; i ++) {
^
0_0_36111380_10376.cpp: In function 'int main()':
0_0_36111380_10376.cpp:97:22: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
if(str[0] == "E") break;
^
0_0_36111380_10376.cpp:98:20: error: invalid conversion from 'char' to 'char*' [-fpermissive]
Insert(*str);
^
0_0_36111380_10376.cpp:19:6: note: initializing argument 1 of 'void Insert(char*)'
void Insert (char *s) {
^
|