记录详情

Compile Error

foo.cc: In function 'int main()':
foo.cc:26:16: error: 'nt' was not declared in this scope; did you mean 'n'?
   26 |     for (int i=nt; i>=0; i--)
      |                ^~
      |                n
foo.cc:27:18: error: 'na' was not declared in this scope; did you mean 'nan'?
   27 |       for (int j=na; j>=0; j--) {
      |                  ^~
      |                  nan
foo.cc:28:21: error: 't' was not declared in this scope
   28 |         int x=min(i+t[k], nt), y=min(j+a[k], na);
      |                     ^
foo.cc:29:9: error: 'opt' was not declared in this scope
   29 |         opt[x][y]=min(opt[x][y], opt[i][j]+w[k]);
      |         ^~~
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
潜水员
语言
C++
递交时间
2023-08-17 21:34:35
评测时间
2023-08-17 21:34:35
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes