/ JoyAc /

记录详情

Compile Error

foo.cc: In function 'int main()':
foo.cc:5:17: error: 'N' was not declared in this scope
     int n;int a[N],b[N],x[N],y[N];
                 ^
foo.cc:7:23: error: 'a' was not declared in this scope
  { scanf("%d%d%d%d", &a[i],&b[i],&x[i],&y[i]);
                       ^
foo.cc:7:29: error: 'b' was not declared in this scope
  { scanf("%d%d%d%d", &a[i],&b[i],&x[i],&y[i]);
                             ^
foo.cc:7:35: error: 'x' was not declared in this scope
  { scanf("%d%d%d%d", &a[i],&b[i],&x[i],&y[i]);
                                   ^
foo.cc:7:41: error: 'y' was not declared in this scope
  { scanf("%d%d%d%d", &a[i],&b[i],&x[i],&y[i]);
                                         ^
foo.cc:12:8: error: 'a' was not declared in this scope
 if( X<=a[i]+x[i]&&X>=a[i]&&Y>=b[i]&&Y<=b[i]+y[i])
        ^
foo.cc:12:13: error: 'x' was not declared in this scope
 if( X<=a[i]+x[i]&&X>=a[i]&&Y>=b[i]&&Y<=b[i]+y[i])
             ^
foo.cc:12:31: error: 'b' was not declared in this scope
 if( X<=a[i]+x[i]&&X>=a[i]&&Y>=b[i]&&Y<=b[i]+y[i])
                               ^
foo.cc:12:45: error: 'y' was not declared in this scope
 if( X<=a[i]+x[i]&&X>=a[i]&&Y>=b[i]&&Y<=b[i]+y[i])
                                             ^
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
自测
题目
P1037 铺地毯
语言
C++
递交时间
2021-11-24 22:29:51
评测时间
2021-11-24 22:29:51
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes