自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 不要62(水)

不要62Time Limit: 1000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 33500    Accepted Submission(s): 12024Problem Description杭州人称那些傻乎乎粘嗒嗒的人为62(音

2016-07-28 21:53:42 296

原创 Divisibility(技巧)

给个数T,再给一个范围(m,n),求在此范围内能整除T的数有多少个......(技巧)#include#includeusing namespace std;int main(){ long long t,a,b; scanf("%lld %lld %lld",&t,&a,&b); if(a=0) { a=a/t; b=b/t; printf(

2016-07-28 21:46:27 247

原创 Bulbs(标记有技巧)

H - BulbsTime Limit:1000MS     Memory Limit:262144KB     64bit IO Format:%I64d & %I64uSubmit StatusDescriptionVasya wants to turn on Christmas lights consisting of m bulbs. Initially, all

2016-07-28 21:41:07 313

原创 HDD is Outdated Technology(标记有技巧)

J - HDD is Outdated TechnologyTime Limit:1000MS     Memory Limit:262144KB     64bit IO Format:%I64d & %I64uSubmit StatusDescriptionHDD hard drives group data by sectors. All files are spli

2016-07-28 21:35:23 310

原创 Saving HDU(贪心)

Saving HDUTime Limit: 3000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 9625    Accepted Submission(s): 4501Problem Description话说上回讲到海东集团面临内外交困,公司的元老也只剩下X

2016-07-28 21:30:20 771

原创 Rightmost Digit(找规律)

Rightmost DigitTime Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 47773    Accepted Submission(s): 18090Problem DescriptionGiven a

2016-07-28 21:22:53 619

原创 Far Relative’s Problem(贪心)

H - Far Relative’s ProblemTime Limit:2000MS     Memory Limit:262144KB     64bit IO Format:%I64d & %I64uSubmit StatusDescriptionFamil Door wants to celebrate his birthday with his friends f

2016-07-28 21:15:42 251

原创 Rails(栈和队列简单应用)

RailsTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 31465 Accepted: 12235DescriptionThere is a famous railway station in PopPush City. Country there is

2016-07-28 21:07:34 361

原创 ACboy needs your help again!(栈和队列简单应用)

ACboy needs your help again!Time Limit: 1000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 5685    Accepted Submission(s): 2973Problem Description

2016-07-28 21:04:29 1236

原创 River Hopscotch(二分)

G - River HopscotchTime Limit:2000MS     Memory Limit:65536KB     64bit IO Format:%lld & %lluSubmit StatusDescriptionEvery year the cows hold an event featuring a peculiar version of hopsc

2016-07-28 20:54:40 188

原创 The Frog's Games(二分)

D - The Frog's GamesTime Limit:1000MS     Memory Limit:65768KB     64bit IO Format:%I64d & %I64uSubmit  StatusDescriptionThe annual Games in frogs' kingdom started again. The most famous gam

2016-07-28 20:51:09 276

原创 大数

(一)大数阶乘#include#includeint a[20000];int main(){int n;while(scanf("%d",&n)!=EOF){int i,j,k;int c;memset(a,0,sizeof(a));a[0]=1;for(i=2;i<=n;i++){c=0;for(j=0;j<=20000;j++)

2016-07-28 20:41:55 175

原创 Oil Deposits(DFS)

Oil DepositsTime Limit:1000MS     Memory Limit:32768KB     64bit IO Format:%I64d & %I64uSubmit StatusDescriptionThe GeoSurvComp geologic survey company is responsible for detecti

2016-07-28 18:58:44 212

原创 Avoid The Lakes(DFS)

Avoid The LakesTime Limit:1000MS     Memory Limit:65536KB     64bit IO Format:%lld & %lluSubmit StatusDescriptionFarmer John's farm was flooded in the most recent storm, a fact

2016-07-28 18:56:21 239

原创 Red and Black(DFS)

Red and BlackTime Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 17517    Accepted Submission(s): 10647Problem DescriptionThere is a

2016-07-28 18:46:07 207

原创 (五):Key Set(快速幂+快速幂求模)

Key SetTime Limit: 2000/1000 MS (Java/Others)    Memory Limit: 131072/131072 K (Java/Others)Total Submission(s): 1803    Accepted Submission(s): 949Problem Descriptionsoda has a set S

2016-07-23 15:56:13 343

原创 (四):TIANKENG’s restaurant

TIANKENG’s restaurantTime Limit:1000MS     Memory Limit:65536KB     64bit IO Format:%I64d & %I64uSubmit StatusDescriptionTIANKENG manages a restaurant after graduating from ZCMU, a

2016-07-23 00:05:40 209

原创 (三):HDU-Doing Homework again

Doing Homework againTime Limit: 1000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 11333    Accepted Submission(s): 6662Problem DescriptionIgna

2016-07-22 23:45:33 216

原创 (二) :美素数(打表+拆数)

Description  小明对数的研究比较热爱,一谈到数,脑子里就涌现出好多数的问题,今天,小明想考考你对素数的认识。   问题是这样的:一个十进制数,如果是素数,而且它的各位数字和也是素数,则称之为“美素数”,如29,本身是素数,而且2+9 = 11也是素数,所以它是美素数。   给定一个区间,你能计算出这个区间内有多少个美素数吗? Input第

2016-07-21 10:08:26 393

原创 (一):the Sum of Cube(立方和。。。。高效率)

DescriptionA range is given, the begin and the end are both integers. You should sum the cube of all the integers in the range. InputThe first line of the input is T(1 Each cas

2016-07-21 08:44:54 478

空空如也

空空如也

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

TA关注的人

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