自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(10)
  • 收藏
  • 关注

原创 zcmu-2137 和为T

2137: 和为TTime Limit: 1 Sec  Memory Limit: 128 MBSubmit: 71  Solved: 15[Submit][Status][Web Board]Description从一个大小为n的整数集中选取一些元素,使得它们的和等于给定的值T。每个元素限选一次,不能一个都不选。Input  第一行一个正整数n,表示整数集内元素的个数。第二行n个整数,用空格隔开...

2018-05-24 16:05:10 186

原创 zcmu-1184 帮我求算一下斐波那契数吧

1184: 帮我求算一下斐波那契数吧 Time Limit: 1 Sec  Memory Limit: 128 MBSubmit: 239  Solved: 49 [Submit][Status][Web Board] Description AYY小朋友对斐波那契数非常感兴趣,他知道f[1]=1,f[2]=1,并且从第三个斐波那契数开始f[n]=f[n-2]+f[n-1](n>=3)...

2018-05-24 16:03:09 553

原创 zcmu-1992 Swiss-system tournament

1992: Swiss-system tournamentTime Limit: 2 Sec  Memory Limit: 128 MBSubmit: 22  Solved: 8[Submit][Status][Web Board]DescriptionA Swiss-system tournament is a tournament which uses a non-elimination fo...

2018-05-24 16:00:42 165

原创 zcmu-2016 种树

2106: 种树Time Limit: 1 Sec  Memory Limit: 128 MBSubmit: 86  Solved: 25[Submit][Status][Web Board]DescriptionA城市有一个巨大的圆形广场,为了绿化环境和净化空气,市政府决定沿圆形广场外圈种一圈树。园林部门 得到指令后,初步规划出n个种树的位置,顺时针编号1到n。并且每个位置都有一个美观度Ai,如...

2018-05-24 15:51:10 168

原创 大数取余

int len = number.length(); LL ans = 0; for (int i = 0; i < len; ++i) { ans = ans * 10 + (number[i] - '0'); ans %= mod; }

2018-05-17 17:52:09 197

原创 zcmu2129 卡勒沃夫之弱水路三千(提高型)

2129: 卡勒沃夫之弱水路三千(提高型)Time Limit: 1 Sec  Memory Limit: 128 MBSubmit: 35  Solved: 13[Submit][Status][Web Board]Description锦瑟年华谁与度 莫问情归处 只影向斜阳 剑吼西风 欲把春留驻天涯芳草无归路 回首花无数 解语自销魂 弱袂萦春 尘缘不相误......在卡勒沃夫充满文学杀伤力的声...

2018-05-08 19:08:11 169

原创 zcmu2134 01串

2134: 01串Time Limit: 1 Sec  Memory Limit: 128 MBSubmit: 26  Solved: 19[Submit][Status][Web Board]Description01串初始为"0"按以下方式变换0变1,1变01Input1个整数(0~19)Outputn次变换后的01串Sample Input3Sample Output101#include&...

2018-05-08 14:43:44 197

原创 zcmu-2010 company

2010: companyTime Limit: 1 Sec  Memory Limit: 256 MBSubmit: 81  Solved: 16[Submit][Status][Web Board]DescriptionThere are n kinds of goods in the company, with each of them has a inventory of cnti and...

2018-05-07 14:12:19 146

原创 hdu-1272 小希的迷宫

小希的迷宫Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 60428    Accepted Submission(s): 18977Problem Description上次Gardon的迷宫城堡小希玩了很久(见Problem B),现在...

2018-05-07 14:09:42 104

原创 hdu-1856 More is better

More is betterTime Limit: 5000/1000 MS (Java/Others)    Memory Limit: 327680/102400 K (Java/Others)Total Submission(s): 32644    Accepted Submission(s): 11500Problem DescriptionMr Wang wants some boys...

2018-05-07 14:03:16 116

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除