上一页 1 ··· 7 8 9 10 11 12 13 下一页

2014年8月30日

usaco-dualpal-pass

摘要: 呵呵,这两道题相差不大:/*ID: qq104801LANG: C++TASK: dualpal*/#include #include #include #include /* for debug only:counter*/void debug_dummy(void){ return;}in... 阅读全文

posted @ 2014-08-30 22:47 深蓝无忌 阅读(174) 评论(0) 推荐(0) 编辑

usaco-palsquare-pass

摘要: 这个居然还一下就通过了,呵呵:/*ID: qq104801LANG: C++TASK: palsquare*/#include #include #include #include /* for debug only:counter*/void debug_dummy(void){ retur... 阅读全文

posted @ 2014-08-30 22:13 深蓝无忌 阅读(143) 评论(0) 推荐(0) 编辑

2014年8月29日

usaco-namenum-pass

摘要: 呵呵,这个,要转换一下思维,不能被题所导引,感觉代码有点丑:/*ID: qq104801LANG: C++TASK: namenum*/#include #include #include #include /* for debug only:counter*/void debug_dummy(vo... 阅读全文

posted @ 2014-08-29 21:49 深蓝无忌 阅读(309) 评论(0) 推荐(0) 编辑

usaco-tranform:pass

摘要: 这个题目是最简单的,虽然步数多了些,但它是最简单的,没怎么费脑力:/*ID: qq104801LANG: C++TASK: transform*/#include #include #include #include /* for debug only:counter*/void debug_dum... 阅读全文

posted @ 2014-08-29 15:13 深蓝无忌 阅读(132) 评论(0) 推荐(0) 编辑

2014年8月28日

usaco-milk2-pass

摘要: 呵呵,通过:/*ID: qq104801LANG: C++TASK: milk2*/#include #include #include /* for debug only:counter*/void debug_dummy(void){ return;}typedef struct _kk{... 阅读全文

posted @ 2014-08-28 17:01 深蓝无忌 阅读(183) 评论(0) 推荐(0) 编辑

2014年8月27日

USACO Broken Necklace 通过了

摘要: 终于通过了,呵呵:/*ID: qq104801LANG: CTASK: beads*/#include #include #include /* for debug only:counter*/void debug_dummy(void){ return;}int n;char k[800];... 阅读全文

posted @ 2014-08-27 18:35 深蓝无忌 阅读(235) 评论(0) 推荐(0) 编辑

2014年8月22日

USACO Broken Necklace

摘要: 这么个所谓简单的题目弄了一下午加一晚上,呵呵,怎么也算不对。一定会有一个简单的方法。晚上去新都回来后,又坐在电脑面前思索这个问题。多次删除写出的眼看就要成功的代码,因为不够简洁。突然顿悟:1.串相联;假设数数当前位置为pos;2.k[pos]==‘w',不可能是最大。3.k[pos+1]=='w',... 阅读全文

posted @ 2014-08-22 23:07 深蓝无忌 阅读(192) 评论(0) 推荐(0) 编辑

推荐顺序ACM

摘要: 1、浙江大学OnlineJudge(ZOJ)http://acm.zju.edu.cn国内最早也是最有名气的OJ,有很多高手在上面做题。特点是数据比较***钻,经常会有你想不到的边界数据,很能考验思维的全面性,现在我主要在这个OJ上做题网络顺畅北京大学OnlineJudge(POJ)http://acm... 阅读全文

posted @ 2014-08-22 08:35 深蓝无忌 阅读(357) 评论(0) 推荐(0) 编辑

usaco暂时无法访问

摘要: 这么早起床,本想做做usaco上的题耍耍,结果,呵呵,无法访问。那个比较有规律,由易入深。呵呵,要的就是这个效果。 阅读全文

posted @ 2014-08-22 07:50 深蓝无忌 阅读(171) 评论(0) 推荐(0) 编辑

2014年8月21日

格式

摘要: 在屏幕上输出%d:printf("%%d\n");printf("\%%d\n"); 阅读全文

posted @ 2014-08-21 09:10 深蓝无忌 阅读(137) 评论(0) 推荐(0) 编辑

上一页 1 ··· 7 8 9 10 11 12 13 下一页

导航