
贪心
Bears9
这个作者很懒,什么都没留下…
展开
-
HPUOJ1475-zz’s math problem Ⅱ
题目链接 问题 E: zz’s math problem Ⅱ时间限制: 3 Sec 内存限制: 32 MB提交: 91 解决: 41题目描述zz作为一个数学盲也认为这个数学题真的很简单, 学弟学妹们终于可以顺利签到了qwq给出NN 个正整数a1,a2,...,aNa1,a2,...,aN ,我们寻找一个这个表达式的最大的值 ...原创 2018-07-29 16:22:15 · 230 阅读 · 0 评论 -
NYOJ791-Color the fence
题目链接 Color the fence时间限制:1000 ms | 内存限制:65535 KB难度:2描述Tom has fallen in love with Mary. Now Tom wants to show his love and write a number on the fence oppo...原创 2018-07-28 10:12:05 · 367 阅读 · 0 评论 -
D. Walking Between Houses
题目链接 D. Walking Between Housestime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstan...原创 2018-08-04 23:12:07 · 460 阅读 · 0 评论 -
思维的体操-大白书
代码:#include<iostream>#include<cstdio>#include<algorithm> using namespace std;int k[10005],p[10005];int main(){ int n,m; while(scanf("%d%d",&n,&m),n||m){ for(int ...原创 2018-08-01 22:45:48 · 252 阅读 · 0 评论