/ WHOJ /

记录详情

Compile Error

foo.cc:2:12: error: 'll' does not name a type
    2 | #define ll ll
      |            ^~
foo.cc:4:7: note: in expansion of macro 'll'
    4 | const ll inf=-4485090715960753727;
      |       ^~
foo.cc:2:12: error: 'll' does not name a type
    2 | #define ll ll
      |            ^~
foo.cc:5:1: note: in expansion of macro 'll'
    5 | ll n,m;
      | ^~
foo.cc:2:12: error: 'll' does not name a type
    2 | #define ll ll
      |            ^~
foo.cc:6:1: note: in expansion of macro 'll'
    6 | ll a[1005][1005],dp[1005][1005][3];
      | ^~
foo.cc:2:12: error: 'll' does not name a type
    2 | #define ll ll
      |            ^~
foo.cc:7:1: note: in expansion of macro 'll'
    7 | ll Max(ll a,ll b,ll c)
      | ^~
foo.cc: In function 'int main()':
foo.cc:13:7: error: 'n' was not declared in this scope; did you mean 'yn'?
   13 |  cin>>n>>m;
      |       ^
      |       yn
foo.cc:13:10: error: 'm' was not declared in this scope; did you mean 'tm'?
   13 |  cin>>n>>m;
      |          ^
      |          tm
foo.cc:16:9: error: 'a' was not declared in this scope
   16 |    cin>>a[j][i];
      |         ^
foo.cc:17:9: error: 'dp' was not declared in this scope
   17 |  memset(dp,-0x3f,sizeof(dp));
      |         ^~
foo.cc:18:26: error: 'a' was not declared in this scope
   18 |  dp[1][1][2]=dp[1][1][0]=a[1][1];
      |                          ^
foo.cc:20:14: error: 'inf' was not declared in this scope; did you mean 'ynf'?
   20 |  dp[1][1][0]=inf;
      |              ^~~
      |              ynf
foo.cc:24:16: error: 'Max' was not declared in this scope
   24 |    dp[i][j][2]=Max(dp[i-1][j][0],dp[i-1][j][1],dp[i-1][j][2])+a[i][j];
      |                ^~~
Found 20 testcases.
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1111 [CSP-J2020] 方格取数
题目数据
下载
语言
C++
递交时间
2022-07-29 12:25:15
评测时间
2022-07-29 12:25:15
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes