POJ 2356 (抽屉原理)
摘要:
题目中说:随便输出一组。抽屉原理可以求出取出的数连续的情况。#include #includeusing namespace std;int a[10005],s[10005];int n,start,end,ok = 0;int main(){ while(scanf("%d",&n) !=... 阅读全文
posted @ 2014-08-26 17:20 tf girl 阅读(189) 评论(0) 推荐(0) 编辑