/ Vijos /

记录详情

Compile Error

/in/foo.cc: In function 'bool check(int)':
/in/foo.cc:32:15: error: 'rr' was not declared in this scope
         y+=(x[rr[i]]-x[ll[i]-1])*(v[rr[i]]-v[ll[i]-1]);
               ^~
/in/foo.cc: In function 'int main()':
/in/foo.cc:52:37: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
     scanf("%I64d%I64d%I64d",&n,&m,&s);
                                     ^
/in/foo.cc:52:37: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
/in/foo.cc:52:37: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'long long int*' [-Wformat=]
/in/foo.cc:55:38: warning: format '%lld' expects argument of type 'long long int*', but argument 3 has type 'long int*' [-Wformat=]
         scanf("%lld%lld",&w[i],&vv[i]);
                                      ^
/in/foo.cc:59:34: error: 'rr' was not declared in this scope
         scanf("%lld%lld",&ll[i],&rr[i]);
                                  ^~

信息

递交者
类型
递交
题目
P1740 聪明的质检员
语言
C++
递交时间
2018-07-22 16:27:04
评测时间
2018-07-22 16:27:04
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes