2011年5月8日

Catch That Cow

摘要: 这道题wa了首先是RE,因为数组下标没有有负的,其次是wa,wa了好几次,我就耐闷了,原来题目要求我输出最小的时间,还有当N>M时。。 #include<iostream>#include<string.h>#include<queue>using namespace std;int N,M,visit[1000010],dp[1000010];const int inf=0x7fffffff;i... 阅读全文

posted @ 2011-05-08 21:04 more think, more gains 阅读(216) 评论(0) 推荐(0) 编辑

导航