记录详情

Compile Error

foo.cc: In function 'void solve()':
foo.cc:20:9: error: 'a' was not declared in this scope
    cin>>a[i][j];
         ^
foo.cc:27:8: error: 'a' was not declared in this scope
     if(a[i+1][j]>a[i][j+1]) dp[i+1][j]=dp[i][j]-a[i+1][j];
        ^
foo.cc:31:25: error: 'a' was not declared in this scope
     dp[i+1][j]=dp[i][j]+a[i+1][j];
                         ^
foo.cc: At global scope:
foo.cc:36:3: error: 'cout' does not name a type
 } cout<<dp[n-1][m-1];
   ^~~~
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
自测
题目
P1299 F. Game
语言
C++
递交时间
2021-11-21 16:55:52
评测时间
2021-11-21 16:55:52
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes