/ WHOJ /

记录详情

Compile Error

foo.cc: In function 'long long int dfs(int, int, int)':
foo.cc:9:23: error: 'min_ll' was not declared in this scope
    9 |  if (f[x][y][from] != min_ll) return f[x][y][from];
      |                       ^~~~~~
foo.cc: In function 'int main()':
foo.cc:24:20: error: 'ednl' was not declared in this scope
   24 |  cout<<dfs(n,m,1)<<ednl;
      |                    ^~~~
In file included from /usr/include/c++/9/bits/char_traits.h:39,
                 from /usr/include/c++/9/ios:40,
                 from /usr/include/c++/9/istream:38,
                 from /usr/include/c++/9/sstream:38,
                 from /usr/include/c++/9/complex:45,
                 from /usr/include/c++/9/ccomplex:39,
                 from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:54,
                 from foo.cc:1:
/usr/include/c++/9/bits/stl_algobase.h: In instantiation of 'const _Tp& std::max(const _Tp&, const _Tp&, _Compare) [with _Tp = long long int; _Compare = long long int]':
foo.cc:10:89:   required from here
/usr/include/c++/9/bits/stl_algobase.h:271:17: error: '__comp' cannot be used as a function
  271 |       if (__comp(__a, __b))
      |           ~~~~~~^~~~~~~~~~
Found 20 testcases.
[Hydro](https://hydro.ac)提供评测服务

信息

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