摘要: const maxn=50008; INF=2000000000;type arr=record u,v,nt:longint; end; arr1=array[0..maxn] of longint;var eg:array[0..maxn*2] of... 阅读全文
posted @ 2015-04-07 20:28 rpSebastian 阅读(141) 评论(0) 推荐(0) 编辑
摘要: const maxn=100000;type arr=array[0..maxn] of longint;var a:arr; i,n:longint;procedure swap(var a,b:longint);var c:longint;begin c:=a; a:=b; b:=c... 阅读全文
posted @ 2015-04-07 20:15 rpSebastian 阅读(144) 评论(0) 推荐(0) 编辑