/ Vijos /

记录详情

Compile Error

foo.cpp:8:1: error: 'll' does not name a type
 ll dp[2][M][N];
 ^
foo.cpp: In function 'int main()':
foo.cpp:19:5: error: 'dp' was not declared in this scope
     dp[k&1][i][j]=0;
     ^
foo.cpp:28:18: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
     sum=(sum+dp[k&1^1][i-1][j])%mod;
                  ^
foo.cpp:34:12: error: 'dp' was not declared in this scope
   ans=(ans+dp[K&1][m][i])%mod;
            ^

信息

递交者
类型
递交
题目
P1982 子串
语言
C++
递交时间
2015-11-26 14:47:29
评测时间
2015-11-26 14:47:30
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes