摘要: #include #include #include #include #define maxn 20010 using namespace std; int n,m,k,num,f[maxn],head[maxn],dis[maxn]; struct node { int u,v,t,pre; }e[maxn]; int init() { int x=0;char s=getc... 阅读全文
posted @ 2016-05-26 21:55 一入OI深似海 阅读(206) 评论(0) 推荐(1) 编辑
摘要: #include #include #include using namespace std; int T,x,y,ans,g,l1,r1,l2,r2; int init() { int x=0;char s=getchar();bool f=0; while(s'9'){if(s=='-')f=1;s=getchar();} while(s>='0'&&sr1||l2>... 阅读全文
posted @ 2016-05-26 17:34 一入OI深似海 阅读(152) 评论(0) 推荐(0) 编辑