0_0_38216749_23791.cpp:1:1: error: 'nclude' does not name a type
nclude<cstdio>
^
0_0_38216749_23791.cpp:8:14: error: 'MAXn' was not declared in this scope
long long x1[MAXn+1],y1[MAXn+1];
^
0_0_38216749_23791.cpp:8:25: error: 'MAXn' was not declared in this scope
long long x1[MAXn+1],y1[MAXn+1];
^
0_0_38216749_23791.cpp:9:14: error: 'MAXn' was not declared in this scope
long long x2[MAXn+1],y2[MAXn+1];
^
0_0_38216749_23791.cpp:9:25: error: 'MAXn' was not declared in this scope
long long x2[MAXn+1],y2[MAXn+1];
^
0_0_38216749_23791.cpp:10:13: error: unable to find numeric literal operator 'operator""MAXn'
long long x[2MAXn+1],y[2MAXn+1];
^
0_0_38216749_23791.cpp:10:13: note: use -std=gnu++11 or -fext-numeric-literals to enable more built-in suffixes
0_0_38216749_23791.cpp:10:24: error: unable to find numeric literal operator 'operator""MAXn'
long long x[2MAXn+1],y[2MAXn+1];
^
0_0_38216749_23791.cpp:10:24: note: use -std=gnu++11 or -fext-numeric-literals to enable more built-in suffixes
0_0_38216749_23791.cpp: In function 'int main()':
0_0_38216749_23791.cpp:14:18: error: 'scanf' was not declared in this scope
scanf("%d",&n);
^
0_0_38216749_23791.cpp:17:35: error: 'x1' was not declared in this scope
scanf("%lld%lld%lld%lld",&x1[i],&y1[i],&x2[i],&y2[i]);
^
0_0_38216749_23791.cpp:17:42: error: 'y1' was not declared in this scope
scanf("%lld%lld%lld%lld",&x1[i],&y1[i],&x2[i],&y2[i]);
^
0_0_38216749_23791.cpp:17:49: error: 'x2' was not declared in this scope
scanf("%lld%lld%lld%lld",&x1[i],&y1[i],&x2[i],&y2[i]);
^
0_0_38216749_23791.cpp:17:56: error: 'y2' was not declared in this scope
scanf("%lld%lld%lld%lld",&x1[i],&y1[i],&x2[i],&y2[i]);
^
0_0_38216749_23791.cpp:18:9: error: 'x' was not declared in this scope
x[2i-1]=x1[i];
^
0_0_38216749_23791.cpp:18:11: error: unable to find numeric literal operator 'operator""i'
x[2i-1]=x1[i];
^
0_0_38216749_23791.cpp:18:11: note: use -std=gnu++11 or -fext-numeric-literals to enable more built-in suffixes
0_0_38216749_23791.cpp:19:11: error: unable to find numeric literal operator 'operator""i'
x[2i]=x2[i];
^
0_0_38216749_23791.cpp:19:11: note: use -std=gnu++11 or -fext-numeric-literals to enable more built-in suffixes
0_0_38216749_23791.cpp:20:9: error: 'y' was not declared in this scope
y[2i-1]=y1[i];
^
0_0_38216749_23791.cpp:20:11: error: unable to find numeric literal operator 'operator""i'
y[2i-1]=y1[i];
^
0_0_38216749_23791.cpp:20:11: note: use -std=gnu++11 or -fext-numeric-literals to enable more built-in suffixes
0_0_38216749_23791.cpp:21:11: error: unable to find numeric literal operator 'operator""i'
y[2i]=y2[i];
^
0_0_38216749_23791.cpp:21:11: note: use -std=gnu++11 or -fext-numeric-literals to enable more built-in suffixes
0_0_38216749_23791.cpp:23:10: error: 'x' was not declared in this scope
sort(x+1,x+2n+1);
^
0_0_38216749_23791.cpp:23:16: error: unable to find numeric literal operator 'operator""n'
sort(x+1,x+2n+1);
^
0_0_38216749_23791.cpp:23:16: note: use -std=gnu++11 or -fext-numeric-literals to enable more built-in suffixes
0_0_38216749_23791.cpp:23:20: error: 'sort' was not declared in this scope
sort(x+1,x+2n+1);
^
0_0_38216749_23791.cpp:24:10: error: 'y' was not declared in this scope
sort(y+1,y+2n+1);
^
0_0_38216749_23791.cpp:24:16: error: unable to find numeric literal operator 'operator""n'
sort(y+1,y+2n+1);
^
0_0_38216749_23791.cpp:24:16: note: use -std=gnu++11 or -fext-numeric-literals to enable more built-in suffixes
0_0_38216749_23791.cpp:25:20: error: unable to find numeric literal operator 'operator""n'
for(int i=1;i<=2n-1;i++) //枚举每一个单位横坐标,这两句看图
^
0_0_38216749_23791.cpp:25:20: note: use -std=gnu++11 or -fext-numeric-literals to enable more built-in suffixes
0_0_38216749_23791.cpp:26:24: error: unable to find numeric literal operator 'operator""n'
for(int j=1;j<=2n-1;j++) //枚举每一个单位纵坐标
^
0_0_38216749_23791.cpp:26:24: note: use -std=gnu++11 or -fext-numeric-literals to enable more built-in suffixes
0_0_38216749_23791.cpp:30:26: error: 'x1' was not declared in this scope
if(x[i]>=x1[k]&&y[j]>=y1[k]&&x[i+1]<=x2[k]&&y[j+1]<=y2[k])//这句是离散化
^
0_0_38216749_23791.cpp:30:39: error: 'y1' was not declared in this scope
if(x[i]>=x1[k]&&y[j]>=y1[k]&&x[i+1]<=x2[k]&&y[j+1]<=y2[k])//这句是离散化
^
0_0_38216749_23791.cpp:30:54: error: 'x2' was not declared in this scope
if(x[i]>=x1[k]&&y[j]>=y1[k]&&x[i+1]<=x2[k]&&y[j+1]<=y2[k])//这句是离散化
^
0_0_38216749_23791.cpp:30:69: error: 'y2' was not declared in this scope
if(x[i]>=x1[k]&&y[j]>=y1[k]&&x[i+1]<=x2[k]&&y[j+1]<=y2[k])//这句是离散化
^
0_0_38216749_23791.cpp:33:22: error: 'printf' was not declared in this scope
printf("%lld",ans); return 0;
^
|