摘要: 题目链接理解了过程就是个水题,收拾东西回家。 1 #include <cstdio> 2 #include <iostream> 3 #include <cstring> 4 using namespace std; 5 #define N 100000 6 double dp[N+1]; 7 int p[N+1]; 8 int main() 9 {10 int i,j,n,m,sv,ev;11 while(scanf("%d%d",&n,&m)!=EOF)12 {13 if(!n&&!m) break;1 阅读全文
posted @ 2012-09-28 17:10 Naix_x 阅读(136) 评论(0) 推荐(0) 编辑