DP
文章平均质量分 51
2017gdgzoi999
这个作者很懒,什么都没留下…
展开
-
#16(total 5 problems) gdgzoi.com-contest2286【C++】
第一题:切蛋糕Description小明今天生日,邀请了一些朋友过来开 生日会。妈妈专门去买了一个大蛋糕,蛋糕为一个n*m的矩形,现在想把这个蛋糕分成1*2的小块,并且要求必须是完整的小块,不能拼接。问一共能分多少块?Input一行,两个正整数n,m(oj中长整形要用%lld来进行输入输出,清橙测试时用的是%I64d,比赛时如果题目没做要求,用那种方式输入输出都可以)Out...原创 2018-05-27 11:39:29 · 2613 阅读 · 1 评论 -
#24(total 5 problems)- gdgzoi:Contest2285-6月3日欢乐练习
Problem A: 求和(caioj3000)Time Limit:1000 ms Memory Limit:128 MBDescription水?#include <iostream>#include <algorithm>#define SIZE 10001using namespace std;int a...原创 2018-06-21 21:30:34 · 257 阅读 · 0 评论