/ Vijos /

记录详情

Compile Error

/in/foo.cc:4:29: error: 'M' was not declared in this scope
    4 | const int N = 1105, V = N * M, MOD = 1e9 + 7;
      |                             ^
/in/foo.cc:6:15: error: size of array 'mns' is not an integral constant-expression
    6 | int a[N], mns[V], secs[V];
      |               ^
/in/foo.cc:6:24: error: size of array 'secs' is not an integral constant-expression
    6 | int a[N], mns[V], secs[V];
      |                        ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:33:31: error: 'MOD' was not declared in this scope
   33 |                 ans += sum %= MOD;
      |                               ^~~
/in/foo.cc:35:24: error: 'MOD' was not declared in this scope
   35 |         cout << (ans % MOD + MOD) % MOD;
      |                        ^~~

信息

递交者
类型
递交
题目
P1663 资源勘探
语言
C++
递交时间
2026-08-05 10:02:27
评测时间
2026-08-05 10:02:27
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes