摘要:
#include using namespace std; int ag,as,ak; int bg,bs,bk; int cg,cs,ck; int main(){ scanf("%d.%d.%d",&ag,&as,&ak); scanf("%d.%d.%d",&bg,&bs,&bk); int c1=(ak+bk)/29; ck=(ak+bk)%29; int c2=(as+b... 阅读全文
posted @ 2016-03-25 23:12
Yellowman
阅读(117)
评论(0)
推荐(0)
摘要:
#include #include #include using namespace std; int n,m,s,d; int cityMap[500][500]; int costMap[500][500]; #define INF numeric_limits::max() int dp[500]; int vis[500]; int costDp[500]; vector rout... 阅读全文
posted @ 2016-03-25 20:40
Yellowman
阅读(111)
评论(0)
推荐(0)
摘要:
id用int,避免了id的strcmp,不然用string就超时。 阅读全文
posted @ 2016-03-25 09:32
Yellowman
阅读(104)
评论(0)
推荐(0)

浙公网安备 33010602011771号