0_0_20979045_19338.cpp:3:23: error: stray '#' in program
const int MAXN=300000+10;
^
0_0_20979045_19338.cpp:28:23: error: stray '#' in program
for(int i=0;i<len;i++)
^
0_0_20979045_19338.cpp:28:28: error: stray '#' in program
for(int i=0;i<len;i++)
^
0_0_20979045_19338.cpp:51:27: error: stray '#' in program
for(int i=start;i<len;i++)
^
0_0_20979045_19338.cpp:51:32: error: stray '#' in program
for(int i=start;i<len;i++)
^
0_0_20979045_19338.cpp:60:9: error: stray '#' in program
res+=dp[i+1];
^
0_0_20979045_19338.cpp:60:19: error: stray '#' in program
res+=dp[i+1];
^
0_0_20979045_19338.cpp:72:22: error: stray '#' in program
for(int i=0;i<26;i++)
^
0_0_20979045_19338.cpp:72:27: error: stray '#' in program
for(int i=0;i<26;i++)
^
0_0_20979045_19338.cpp:97:10: error: stray '#' in program
dp[len+1]=1;
^
0_0_20979045_19338.cpp:103:31: error: stray '#' in program
printf("Case %d: %d\n",kase++,dp[0]);
^
0_0_20979045_19338.cpp:103:36: error: stray '#' in program
printf("Case %d: %d\n",kase++,dp[0]);
^
0_0_20979045_19338.cpp:3:27: error: expected unqualified-id before numeric constant
const int MAXN=300000+10;
^
0_0_20979045_19338.cpp: In member function 'void Trie::insert(char*)':
0_0_20979045_19338.cpp:28:26: error: expected ')' before ';' token
for(int i=0;i<len;i++)
^
0_0_20979045_19338.cpp:28:29: error: lvalue required as unary '&' operand
for(int i=0;i<len;i++)
^
0_0_20979045_19338.cpp:28:32: error: expected primary-expression before ')' token
for(int i=0;i<len;i++)
^
0_0_20979045_19338.cpp: In member function 'void Trie::query(char*, int)':
0_0_20979045_19338.cpp:51:30: error: expected ')' before ';' token
for(int i=start;i<len;i++)
^
0_0_20979045_19338.cpp:51:33: error: lvalue required as unary '&' operand
for(int i=start;i<len;i++)
^
0_0_20979045_19338.cpp:51:36: error: expected primary-expression before ')' token
for(int i=start;i<len;i++)
^
0_0_20979045_19338.cpp: In member function 'void Trie::del(node*)':
0_0_20979045_19338.cpp:72:25: error: expected ')' before ';' token
for(int i=0;i<26;i++)
^
0_0_20979045_19338.cpp:72:28: error: lvalue required as unary '&' operand
for(int i=0;i<26;i++)
^
0_0_20979045_19338.cpp:72:31: error: expected primary-expression before ')' token
for(int i=0;i<26;i++)
^
0_0_20979045_19338.cpp: In function 'int main()':
0_0_20979045_19338.cpp:97:13: error: expected ']' before ';' token
dp[len+1]=1;
^
0_0_20979045_19338.cpp:97:15: error: expected ';' before ']' token
dp[len+1]=1;
^
0_0_20979045_19338.cpp:103:34: error: expected ')' before ';' token
printf("Case %d: %d\n",kase++,dp[0]);
^
0_0_20979045_19338.cpp:103:37: error: lvalue required as unary '&' operand
printf("Case %d: %d\n",kase++,dp[0]);
^
0_0_20979045_19338.cpp:103:40: error: expected primary-expression before ',' token
printf("Case %d: %d\n",kase++,dp[0]);
^
|