上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 19 下一页
2023年1月27日
摘要: Problem Description有n种物品,并且知道每种物品的数量。要求从中选出m件物品的排列数。例如有两种物品A,B,并且数量都是1,从中选2件物品,则排列有”AB”,”BA”两种。 Input每组输入数据有两行,第一行是二个数n,m(1<=m,n<=10),表示物品数,第二行有n个数,分别 阅读全文
posted @ 2023-01-27 10:35 ruoye123456 阅读(123) 评论(0) 推荐(0)
摘要: Problem Description转眼到了收获的季节,由于有TT的专业指导,Lele获得了大丰收。特别是水果,Lele一共种了N种水果,有苹果,梨子,香蕉,西瓜……不但味道好吃,样子更是好看。 于是,很多人们慕名而来,找Lele买水果。 甚至连大名鼎鼎的HDU ACM总教头 lcy 也来了。lc 阅读全文
posted @ 2023-01-27 09:52 ruoye123456 阅读(61) 评论(0) 推荐(0)
2023年1月26日
摘要: Problem DescriptionNow you are asked to measure a dose of medicine with a balance and a number of weights. Certainly it is not always achievable. So y 阅读全文
posted @ 2023-01-26 19:21 ruoye123456 阅读(45) 评论(0) 推荐(0)
2023年1月25日
摘要: Problem DescriptionThere are n lights in a circle numbered from 1 to n. The left of light 1 is light n, and the left of light k (1< k<= n) is the ligh 阅读全文
posted @ 2023-01-25 10:23 ruoye123456 阅读(38) 评论(0) 推荐(0)
2023年1月24日
摘要: Problem DescriptionHomer: Marge, I just figured out a way to discover some of the talents we weren’t aware we had.Marge: Yeah, what is it?Homer: Take 阅读全文
posted @ 2023-01-24 13:33 ruoye123456 阅读(28) 评论(0) 推荐(0)
摘要: Problem DescriptionNowadays, we all know that Computer College is the biggest department in HDU. But, maybe you don’t know that Computer College had e 阅读全文
posted @ 2023-01-24 13:01 ruoye123456 阅读(27) 评论(0) 推荐(0)
2023年1月23日
摘要: Problem Description一块花布条,里面有些图案,另有一块直接可用的小饰条,里面也有一些图案。对于给定的花布条和小饰条,计算一下能从花布条中尽可能剪出几块小饰条来呢? Input输入中含有一些数据,分别是成对出现的花布条和小饰条,其布条都是用可见ASCII字符表示的,可见的ASCII字 阅读全文
posted @ 2023-01-23 11:21 ruoye123456 阅读(44) 评论(0) 推荐(0)
摘要: #include<bits/stdc++.h> using namespace std; int main() { int m,n; scanf("%d: (%d)",&m,&n);//输入1: (3) cout<<m<<' '<<n;//输出1 3 return 0; } #include<bit 阅读全文
posted @ 2023-01-23 11:06 ruoye123456 阅读(26) 评论(0) 推荐(0)
2023年1月19日
摘要: Problem DescriptionWe all know that Bin-Laden is a notorious terrorist, and he has disappeared for a long time. But recently, it is reported that he h 阅读全文
posted @ 2023-01-19 11:44 ruoye123456 阅读(21) 评论(0) 推荐(0)
摘要: Problem DescriptionPeople in Silverland use square coins. Not only they have square shapes but also their values are square numbers. Coins with values 阅读全文
posted @ 2023-01-19 10:37 ruoye123456 阅读(23) 评论(0) 推荐(0)
上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 19 下一页