记录详情

Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:17:28: error: 'M' was not declared in this scope
   dp[i] = ((i - 3) * q - f+M) % M;
                            ^
/in/foo.cc:7:11: warning: unused variable 'ans' [-Wunused-variable]
  ll n, i, ans = 1, c1, c2, j;
           ^~~
/in/foo.cc:7:20: warning: unused variable 'c1' [-Wunused-variable]
  ll n, i, ans = 1, c1, c2, j;
                    ^~
/in/foo.cc:7:24: warning: unused variable 'c2' [-Wunused-variable]
  ll n, i, ans = 1, c1, c2, j;
                        ^~
/in/foo.cc:7:28: warning: unused variable 'j' [-Wunused-variable]
  ll n, i, ans = 1, c1, c2, j;
                            ^

信息

递交者
类型
递交
题目
P1255 E NJNU
语言
C++
递交时间
2021-06-07 16:58:55
评测时间
2021-06-07 16:58:55
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes