/ Vijos /

记录详情

Compile Error

foo.cpp: In function 'int main()':
foo.cpp:41:26: error: expected primary-expression before '?' token
         memset(f,0,sizeof?f?);
                          ^
foo.cpp:41:29: error: expected primary-expression before ')' token
         memset(f,0,sizeof?f?);
                             ^
foo.cpp:41:29: error: expected ':' before ')' token
foo.cpp:41:29: error: expected primary-expression before ')' token
foo.cpp:41:29: error: expected ':' before ')' token
foo.cpp:41:29: error: expected primary-expression before ')' token
foo.cpp:47:21: warning: suggest parentheses around '+' inside '<<' [-Wparentheses]
         if(j+k*(1<<i+1)>n) break; 
                     ^
foo.cpp:49:30: warning: suggest parentheses around '+' inside '<<' [-Wparentheses]
         else f[i+1][j+k*(1<<i+1)]=(f[i+1][j+k*(1<<i+1)]+f[i][j])%LM;
                              ^
foo.cpp:49:52: warning: suggest parentheses around '+' inside '<<' [-Wparentheses]
         else f[i+1][j+k*(1<<i+1)]=(f[i+1][j+k*(1<<i+1)]+f[i][j])%LM;
                                                    ^
foo.cpp:51:34: warning: unknown conversion type character 'l' in format [-Wformat=]
         printf("%lld\n",f[W-1][n]);
                                  ^
foo.cpp:51:34: warning: too many arguments for format [-Wformat-extra-args]

信息

递交者
类型
递交
题目
P1932 重要的誓言
语言
C++
递交时间
2016-11-16 11:37:42
评测时间
2016-11-16 11:37:42
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes