![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
贪心 枚举
ERROR无限
这个作者很懒,什么都没留下…
展开
-
poj 3069 Saruman's army
Saruman the White must lead his army along a straight path from Isengard to Helm’s Deep. To keep track of his forces, Saruman distributes seeing stones, known as palantirs, among the troops. Each pala原创 2016-04-11 20:24:22 · 171 阅读 · 0 评论 -
poj 3617 best cow line
http://poj.org/problem?id=3617 #include using namespace std; const int maxn = 2000; char s[maxn + 1]; char k[maxn + 1]; int main() { int n; cin >> n; for(int i=0; i<n; i++)原创 2016-04-10 20:45:28 · 298 阅读 · 0 评论 -
HDU jrmz and angles
jrMz and angles Accepts: 594 Submissions: 1198 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others) 问题描述 jrMz有两种角,第一种角都是正nnn边形的内角,第二种角都是正mmm边形的内角。jrMz原创 2016-05-13 21:07:24 · 268 阅读 · 0 评论