![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
C语言
Percy-BIT
这个作者很懒,什么都没留下…
展开
-
[An AC a day]1001_HIT_ACM
#includeint main(){int a,b;while(scanf("%d%d",&a,&b) != EOF)printf("%d\n",a+b);return 0;}原创 2013-12-31 00:28:31 · 603 阅读 · 0 评论 -
[An AC a day]3624_POJ_ACM
D - Charm BraceletTime Limit:1000MS Memory Limit:65536KB 64bit IO Format:%I64d & %I64uSubmit StatusDescriptionBessie has gone to the mall's jewelry store and spies a char原创 2014-02-13 20:59:29 · 460 阅读 · 0 评论 -
[An AC a day]1050_POJ_ACM
C - To the MaxTime Limit:1000MS Memory Limit:10000KB 64bit IO Format:%I64d & %I64uSubmit StatusDescriptionGiven a two-dimensional array of positive and negative integers,原创 2014-02-13 20:37:46 · 521 阅读 · 0 评论 -
[An AC a day]1421_HDU_ACM
G - 搬寝室Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64uSubmit StatusDescription搬寝室是很累的,xhd深有体会.时间追述2006年7月9号,那天xhd迫于无奈要从27号楼搬到3号楼,因为10号要封楼了.看着寝室里的n件物品,x原创 2014-02-13 21:36:15 · 487 阅读 · 0 评论 -
[An AC a day]2084_HDU_ACM
B - 数塔Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64uSubmit StatusDescription在讲述DP算法的时候,一个经典的例子就是数塔问题,它是这样描述的: 有如下所示的数塔,要求从顶层走到底层,若每一步只能走到相邻的结点,则经过原创 2014-02-13 20:05:53 · 445 阅读 · 0 评论 -
[An AC a day]1160_HDU_ACM
F - Common SubsequenceTime Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64uSubmit StatusDescriptionA subsequence of a given sequence is the given sequence wi原创 2014-02-13 21:25:56 · 496 阅读 · 0 评论 -
[An AC a day]1088_POJ_ACM
A - 滑雪Time Limit:1000MS Memory Limit:65536KB 64bit IO Format:%I64d & %I64uSubmit StatusDescriptionMichael喜欢滑雪百这并不奇怪, 因为滑雪的确很刺激。可是为了获得速度,滑的区域必须向下倾斜,而且当你滑到坡底,你不得不再次走上坡或者等待升降机原创 2014-02-13 19:53:16 · 464 阅读 · 0 评论 -
[An AC a day]Daily Practice_BIT
H22:合并果子(选作)成绩5开启时间2013年12月2日 星期一 18:00折扣0.8折扣时间2013年12月15日 星期日 23:55允许迟交是关闭时间2013年12月17日 星期二 23:55在一个果园里,多多已经将所有的果子打了下来原创 2014-01-02 23:38:13 · 656 阅读 · 0 评论 -
[An AC a day]1003_HIT_ACM
#include#includeint main(){int n,m,min,sum = 0,price = 0,flag;//对N,M的输入scanf("%d%d",&n,&m);//动态二维数组的建立int **person;person = (int **)malloc(sizeof(int)*m);for(int i = 0;i{person[i] = (int *原创 2013-12-31 00:34:49 · 525 阅读 · 0 评论 -
[An AC a day]1002_HIT_ACM
#includeint main(){ int a,b,c; while(scanf("%d%d%d",&a,&b,&c) != EOF) { printf("%lld\n",(long long)a+b+c); } return 0;}1、输入结束的标志是scanf的返回值为EOF。2、输入的数据范围在-2^31 至 2^31-1之间,对32位计算机,用int存储a,原创 2013-12-31 00:31:11 · 748 阅读 · 0 评论 -
[An AC a day]1004_HIT_ACM
Prime PalindromesMy Tags (Edit) Source : USACO Gateway Time limit : 15 sec Memory limit : 32 MSubmitted : 19582, Accepted : 439原创 2013-12-31 23:53:53 · 673 阅读 · 0 评论 -
[An AC a day]1160_HDU_ACM
E - FatMouse's SpeedTime Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64uSubmit StatusDescriptionFatMouse believes that the fatter a mouse is, the faster it原创 2014-02-13 21:10:35 · 595 阅读 · 0 评论