记录详情

Compile Error

foo.cc: In function ‘int main()’:
foo.cc:57:30: error: ‘j)’ was not declared in this scope
   57 |     for (int j = 0; j < 3; ++j){result = (result + dp[n][j]) % MOD;}
      |                              ^~~
foo.cc:57:33: error: expected ‘)’ before ‘{’ token
   57 |     for (int j = 0; j < 3; ++j){result = (result + dp[n][j]) % MOD;}
      |         ~                       ^
      |                                 )

信息

递交者
类型
自测
题目
P1565 Problem 1C. 一山不容二虎
语言
C++
递交时间
2024-04-12 14:29:02
评测时间
2024-04-12 14:29:02
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes