/ Vijos /

记录详情

Compile Error

foo.cc:8:20: error: 'r' has not been declared
    8 | void output(int l, r)
      |                    ^
foo.cc: In function 'void output(int, int)':
foo.cc:10:18: error: 'r' was not declared in this scope
   10 |         if (l == r)
      |                  ^
foo.cc:12:22: error: 'r' was not declared in this scope
   12 |         int x = k[l][r];
      |                      ^
foo.cc: In function 'int main()':
foo.cc:38:29: error: 't' was not declared in this scope
   38 |                         if (t[j] + s[j+1][j+i] > t[j+i] + s[j][j+i-1])
      |                             ^
foo.cc:49:37: error: 't' was not declared in this scope
   49 |                                 if (t[m] + s[j][m-1] * s[m+1][j+i] > s[j][j+i])
      |                                     ^
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
自测
题目
P1100 加分二叉树
语言
C++
递交时间
2023-06-12 14:30:57
评测时间
2023-06-12 14:30:57
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes