Compile Error

foo.cc: In function 'bool check(int)':
foo.cc:22:15: error: 'rr' was not declared in this scope
         y+=(x[rr[i]]-x[ll[i]-1])*(v[rr[i]]-v[ll[i]-1]);
               ^~
foo.cc:22:15: note: suggested alternative: 'r'
         y+=(x[rr[i]]-x[ll[i]-1])*(v[rr[i]]-v[ll[i]-1]);
               ^~
               r
foo.cc: In function 'int main()':
foo.cc:43:21: error: 'rr' was not declared in this scope
         cin>>ll[i]>>rr[i];
                     ^~
foo.cc:43:21: note: suggested alternative: 'r'
         cin>>ll[i]>>rr[i];
                     ^~
                     r
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1353 聪明的质检员
语言
C++
递交时间
2021-10-23 18:57:31
评测时间
2021-10-23 18:57:31
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes