ACM二分
文章平均质量分 78
fanesemyk
这个作者很懒,什么都没留下…
展开
-
POJ 3273 Monthly Expense
Description Farmer John is an astounding accounting wizard and has realized he might run out of money to run the farm. He has already calculated and recorded the exact amount of money (1 ≤ moneyi原创 2016-02-24 13:01:24 · 272 阅读 · 0 评论 -
cf 321B
Description Kefa wants to celebrate his first big salary by going to restaurant. However, he needs company. Kefa has n friends, each friend will agree to go to the restaurant if Kefa asks. Each原创 2016-02-24 13:03:43 · 389 阅读 · 0 评论 -
矩阵快速幂模板
struct Mat { int line; int column; int a[4][4]; Mat() { line=column=2; a[1][1]=1; a[1][2]=0; a[2][1]=0; a[2][2]=1; } Mat(int x,int y原创 2016-08-02 18:59:03 · 391 阅读 · 0 评论 -
codeforces 762C Strings
题目大意: 给定两个字符串a,b(len≤105) (len≤105),让你去b中的一个连续的字段,使剩余的b串中的拼接起来的两个串是a穿的子序列。最大化这个字串的长度。 思路:http://blog.csdn.net/wjl84945979/article/details/54800222 代码:#include using namespace std; const int原创 2017-03-09 21:28:01 · 438 阅读 · 0 评论 -
hdu 4004 The Frog's Games
Problem Description The annual Games in frogs' kingdom started again. The most famous game is the Ironfrog Triathlon. One test in the Ironfrog Triathlon is jumping. This project requires the frog a原创 2017-03-21 22:23:45 · 220 阅读 · 0 评论