记录详情

Compile Error

foo.cc: In function 'int main()':
foo.cc:43:5: error: 'ds' has not been declared
   43 |     ds::ST<int, 300000> st(a, n);
      |     ^~
foo.cc:43:12: error: expected primary-expression before 'int'
   43 |     ds::ST<int, 300000> st(a, n);
      |            ^~~
foo.cc:51:45: error: 'st' was not declared in this scope; did you mean 's'?
   51 |             cout << ((a[y] - a[x-1] == 0 && st.RMQMIN(x, y) - a[x-1] == 0) ? "Yes" : "No") << '\n';
      |                                             ^~
      |                                             s
foo.cc:54:21: error: 'st' was not declared in this scope; did you mean 's'?
   54 |             int p = st.RMQMIN(x, y) - a[x-1];
      |                     ^~
      |                     s
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1300 I. RBS Checking
语言
C++
递交时间
2021-12-23 15:59:19
评测时间
2021-12-23 15:59:19
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes