/ Vijos /

记录详情

Compile Error

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; } }

信息

递交者
类型
递交
题目
P1452 逃脱
语言
C++
递交时间
2015-10-18 20:45:53
评测时间
2015-10-18 20:46:20
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes