![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
字符串
文章平均质量分 67
kzzhr
蒟蒻小小鸟
展开
-
USACO Section 1.3.2 Mixing Milk
题目Mixing MilkSince milk packaging is such a low margin business, it is important to keep the price of the raw product (milk) as low as possible. Help Merry Milk Makers get the milk t原创 2013-05-22 10:44:34 · 1009 阅读 · 0 评论 -
USACO Section 1.3.5 Calf Flac
题目Calf FlacIt is said that if you give an infinite number of cows an infinite number of heavy-duty laptops (with very large keys), that they will ultimately produce all the world's gre原创 2013-05-22 11:03:07 · 1122 阅读 · 0 评论 -
POJ 3461 Oulipo KMP练习
题目链接题目很长,其实就是字符串匹配。所以,权当练习 KMP#include #include #define MB 10101#define MA 1000100char a[MA],b[MB];int next[MB];void prekmp(char* b) { next[0]=-1; int j=-1; for ( int i(1); b[原创 2014-03-31 09:34:47 · 825 阅读 · 0 评论 -
表达式计算
题目输入一个表达式,计算出它的值。运算符有 + - × / ( )。思路这是我们学栈时碰到的一个问题,大体方法是利用双栈把中缀表达式转换成后缀表达式进行计算------------------------------------------------------------------------------------------------1.拆分数字与运算符原创 2013-04-30 14:34:18 · 5414 阅读 · 1 评论