foo.cpp:1:1: error: 'include' does not name a type
include<iostream> include<cstdio> include<cstring> include<queue> include<algorithm> define maxn 100010 define inf 0x7fffffff/2
^
foo.cpp:4:17: error: 'p' was not declared in this scope
int n,m,sx,sy,d[p],head[p],cnt;
^
foo.cpp:4:25: error: 'p' was not declared in this scope
int n,m,sx,sy,d[p],head[p],cnt;
^
foo.cpp:5:10: error: 'p' was not declared in this scope
bool vis[p];
^
foo.cpp:9:45: error: 'maxn' was not declared in this scope
if(x!=a.x)return x<a.x; return y<a.y; } }o1[maxn],e1[maxn]; struct p2{ int x,y; bool operator<(const p2 &a)const{ if(y!=a.y)return y<a.y; return x<a.x; } }o2[maxn],e2[maxn]; struct point{ int x,y,next; bool operator <(const point &a)const{ if(x!=a.x)return x<a.x; return y<a.y; } }ex[maxn],h[p]; queue<point>Q;
^
foo.cpp:9:54: error: 'maxn' was not declared in this scope
if(x!=a.x)return x<a.x; return y<a.y; } }o1[maxn],e1[maxn]; struct p2{ int x,y; bool operator<(const p2 &a)const{ if(y!=a.y)return y<a.y; return x<a.x; } }o2[maxn],e2[maxn]; struct point{ int x,y,next; bool operator <(const point &a)const{ if(x!=a.x)return x<a.x; return y<a.y; } }ex[maxn],h[p]; queue<point>Q;
^
foo.cpp:9:159: error: 'maxn' was not declared in this scope
if(x!=a.x)return x<a.x; return y<a.y; } }o1[maxn],e1[maxn]; struct p2{ int x,y; bool operator<(const p2 &a)const{ if(y!=a.y)return y<a.y; return x<a.x; } }o2[maxn],e2[maxn]; struct point{ int x,y,next; bool operator <(const point &a)const{ if(x!=a.x)return x<a.x; return y<a.y; } }ex[maxn],h[p]; queue<point>Q;
^
foo.cpp:9:168: error: 'maxn' was not declared in this scope
if(x!=a.x)return x<a.x; return y<a.y; } }o1[maxn],e1[maxn]; struct p2{ int x,y; bool operator<(const p2 &a)const{ if(y!=a.y)return y<a.y; return x<a.x; } }o2[maxn],e2[maxn]; struct point{ int x,y,next; bool operator <(const point &a)const{ if(x!=a.x)return x<a.x; return y<a.y; } }ex[maxn],h[p]; queue<point>Q;
^
foo.cpp:9:285: error: 'maxn' was not declared in this scope
if(x!=a.x)return x<a.x; return y<a.y; } }o1[maxn],e1[maxn]; struct p2{ int x,y; bool operator<(const p2 &a)const{ if(y!=a.y)return y<a.y; return x<a.x; } }o2[maxn],e2[maxn]; struct point{ int x,y,next; bool operator <(const point &a)const{ if(x!=a.x)return x<a.x; return y<a.y; } }ex[maxn],h[p]; queue<point>Q;
^
foo.cpp:9:293: error: 'p' was not declared in this scope
if(x!=a.x)return x<a.x; return y<a.y; } }o1[maxn],e1[maxn]; struct p2{ int x,y; bool operator<(const p2 &a)const{ if(y!=a.y)return y<a.y; return x<a.x; } }o2[maxn],e2[maxn]; struct point{ int x,y,next; bool operator <(const point &a)const{ if(x!=a.x)return x<a.x; return y<a.y; } }ex[maxn],h[p]; queue<point>Q;
^
foo.cpp:9:297: error: 'queue' does not name a type
if(x!=a.x)return x<a.x; return y<a.y; } }o1[maxn],e1[maxn]; struct p2{ int x,y; bool operator<(const p2 &a)const{ if(y!=a.y)return y<a.y; return x<a.x; } }o2[maxn],e2[maxn]; struct point{ int x,y,next; bool operator <(const point &a)const{ if(x!=a.x)return x<a.x; return y<a.y; } }