摘要: 这道题目,整个过程都是自己做的,其中j的取值比较讲究技巧,%k——————————————通过了#include "iostream"#include "string.h"#include "algorithm"using namespace std;int f[11000][110];int n,k,i,list[10100],s,e,j,flag;bool cmp(int a,int b){ return a>b;}int main(){ cin>>n>>k; for(i=1;i>list[i] 阅读全文
posted @ 2013-08-17 14:55 龙城星 阅读(150) 评论(0) 推荐(0) 编辑