
ACM_计算
kewlgrl
好大一只咸鱼哇
展开
-
POJ 1840-Eqs(哈希-五元方程组解的个数)
EqsTime Limit: 5000MS Memory Limit: 65536KTotal Submissions: 16095 Accepted: 7902DescriptionConsider equations having the following form: a1x13+ a2x23+ a3x33+ a原创 2017-02-09 13:16:57 · 858 阅读 · 3 评论 -
HDU-求大数的阶乘
问题及代码:/* *Copyright (c)2014,烟台大学计算机与控制工程学院 *All rights reserved. *文件名称:HDU.cpp *作 者:单昕昕 *完成日期:2015年1月27日 *版 本 号:v1.0 *问题描述:Time Limit : 10000/5000ms (Java/Other) Memory Limit : 65原创 2015-01-27 21:46:17 · 899 阅读 · 0 评论 -
HDU-蜗牛爬行问题-有疲劳值
问题及代码:/* *Copyright (c)2014,烟台大学计算机与控制工程学院 *All rights reserved. *文件名称:HDU.cpp *作 者:单昕昕 *完成日期:2015年1月27日 *版 本 号:v1.0 *问题描述:TiA snail is at the bottom of a 6-foot well and wants to c原创 2015-01-27 21:41:31 · 959 阅读 · 0 评论 -
HDU-找循环节-给定递推公式计算取模
问题及代码:/* *Copyright (c)2014,烟台大学计算机与控制工程学院 *All rights reserved. *文件名称:HDU.cpp *作 者:单昕昕 *完成日期:2015年1月27日 *版 本 号:v1.0 *问题描述:Time Limit : 2000/1000ms (Java/Other) Memory Limit : 655原创 2015-01-27 21:33:18 · 1442 阅读 · 0 评论 -
HDU-幂次方取尾数
问题及代码:/* *Copyright (c)2014,烟台大学计算机与控制工程学院 *All rights reserved. *文件名称:HDU.cpp *作 者:单昕昕 *完成日期:2015年1月27日 *版 本 号:v1.0 *问题描述:Given a positive integer N, you should output the most rig原创 2015-01-27 21:15:53 · 773 阅读 · 0 评论 -
HDU-bee-蜜蜂行走路线
问题及代码:/* *Copyright (c)2014,烟台大学计算机与控制工程学院 *All rights reserved. *文件名称:HDU.cpp *作 者:单昕昕 *完成日期:2015年1月19日 *版 本 号:v1.0 * *问题描述:有一只经过训练的蜜蜂只能爬向右侧相邻的蜂房,不能反向爬行。请编程计算蜜蜂从蜂房a爬到蜂房b的可能路线原创 2015-01-19 16:06:20 · 2912 阅读 · 0 评论 -
HDU-candy-每次只吃一种糖
问题及代码:/* *Copyright (c)2014,烟台大学计算机与控制工程学院 *All rights reserved. *文件名称:HDU.cpp *作 者:单昕昕 *完成日期:2015年1月19日 *版 本 号:v1.0 * *问题描述:HOHO,终于从Speakless手上赢走了所有的糖果,是Gardon吃糖果时有个特殊的癖好,就是不喜欢将一原创 2015-01-19 15:53:28 · 1024 阅读 · 0 评论 -
HDU-worm-n长虫子u步d滑
问题及代码:/* *Copyright (c)2014,烟台大学计算机与控制工程学院 *All rights reserved. *文件名称:HDU.cpp *作 者:单昕昕 *完成日期:2015年1月19日 *版 本 号:v1.0 * *问题描述:An inch worm is at the bottom of a well n inches deep.原创 2015-01-19 14:30:34 · 1282 阅读 · 0 评论 -
HDU-balloons-求颜色最多的气球的颜色
问题及代码:/* *Copyright (c)2014,烟台大学计算机与控制工程学院 *All rights reserved. *文件名称:HDU.cpp *作 者:单昕昕 *完成日期:2015年1月19日 *版 本 号:v1.0 * *问题描述:Contest time again! How excited it is to see balloons原创 2015-01-19 14:26:00 · 2012 阅读 · 0 评论 -
HDU-用N个三角形最多可以把平面分成几个区域
问题及代码:/* *Copyright (c)2014,烟台大学计算机与控制工程学院 *All rights reserved. *文件名称:HDU.cpp *作 者:单昕昕 *完成日期:2015年1月19日 *版 本 号:v1.0 * *问题描述:用N个三角形最多可以把平面分成几个区域?*程序输入:输入数据的第一行是一个正整数T(1<=T<=10000原创 2015-01-19 12:55:56 · 3778 阅读 · 0 评论 -
HDU-电梯运行时长
问题及代码:/* *Copyright (c)2014,烟台大学计算机与控制工程学院 *All rights reserved. *文件名称:HDU.cpp *作 者:单昕昕 *完成日期:2015年1月19日 *版 本 号:v1.0 * *问题描述:The highest building in our city has only one elevator原创 2015-01-19 12:40:09 · 2833 阅读 · 0 评论 -
HDU-洗牌问题
问题及代码:/* *Copyright (c)2014,烟台大学计算机与控制工程学院 *All rights reserved. *文件名称:card.cpp *作 者:单昕昕 *完成日期:2015年2月3日 *版 本 号:v1.0 * *问题描述:Eddy是个ACMer,他不仅喜欢做ACM题,而且对于纸牌也有一定的研究,他在无聊时研究发现,如果他有2N张牌,编号为1,2原创 2015-02-03 14:33:33 · 800 阅读 · 0 评论 -
HDU-圆桌会议问题
问题及代码:/* *Copyright (c)2014,烟台大学计算机与控制工程学院 *All rights reserved. *文件名称:team.cpp *作 者:单昕昕 *完成日期:2015年2月3日 *版 本 号:v1.0 * *问题描述:ACM集训队的队员在暑假集训时经常要讨论自己在做题中遇到的问题.每当面临自己解决不了的问题时,他们就会围坐在一张圆形的桌原创 2015-02-03 14:41:04 · 1438 阅读 · 0 评论 -
HDU-小盒子放在格子里-可以旋转
问题及代码:/* *Copyright (c)2014,烟台大学计算机与控制工程学院 *All rights reserved. *文件名称:objection.cpp *作 者:单昕昕 *完成日期:2015年2月3日 *版 本 号:v1.0 * *问题描述:There is a large room in the Pyramid called Room-of-No-Re原创 2015-02-03 14:23:06 · 850 阅读 · 0 评论 -
HDU-不定积分-求一条直线与抛物线所围成的面积
问题及代码:/* *Copyright (c)2014,烟台大学计算机与控制工程学院 *All rights reserved. *文件名称:area.cpp *作 者:单昕昕 *完成日期:2015年2月3日 *版 本 号:v1.0 * *问题描述:Ignatius bought a land last week, but he didn't know the area原创 2015-02-03 14:16:26 · 2156 阅读 · 0 评论 -
HDU-动能定理-人的降落
问题及代码:/* *Copyright (c)2014,烟台大学计算机与控制工程学院 *All rights reserved. *文件名称:E.cpp *作 者:单昕昕 *完成日期:2015年2月3日 *版 本 号:v1.0 * *问题描述:Once again, James Bond is fleeing from some evil people who want原创 2015-02-03 14:27:11 · 964 阅读 · 0 评论 -
HDU-卡片叠放
问题及代码:/* *Copyright (c)2014,烟台大学计算机与控制工程学院 *All rights reserved. *文件名称:cards.cpp *作 者:单昕昕 *完成日期:2015年2月3日 *版 本 号:v1.0 * *问题描述:How far can you make a stack of cards overhang a table? If原创 2015-02-03 14:46:36 · 849 阅读 · 0 评论 -
HDU-大数取模-最多100000位
问题及代码:/* *Copyright (c)2014,烟台大学计算机与控制工程学院 *All rights reserved. *文件名称:mod.cpp *作 者:单昕昕 *完成日期:2015年2月3日 *版 本 号:v1.0 * *问题描述:As we know, Big Number is always troublesome. But it's really原创 2015-02-03 14:50:21 · 1431 阅读 · 0 评论 -
HDU-最大公倍数-多个数
问题及代码:/* *Copyright (c)2014,烟台大学计算机与控制工程学院 *All rights reserved. *文件名称:HDU.cpp *作 者:单昕昕 *完成日期:2015年1月27日 *版 本 号:v1.0 *问题描述:The least common multiple (LCM) of a set of positive integ原创 2015-01-27 22:12:56 · 689 阅读 · 0 评论 -
HDU-房屋淹没
问题及代码:/* *Copyright (c)2014,烟台大学计算机与控制工程学院 *All rights reserved. *文件名称:house.cpp *作 者:单昕昕 *完成日期:2015年2月3日 *版 本 号:v1.0 * *问题描述:Fred Mapper is considering purchasing some land in Louisi原创 2015-02-03 14:15:09 · 844 阅读 · 0 评论 -
HDU-正方形棋盘覆盖问题
问题及代码:/* *Copyright (c)2014,烟台大学计算机与控制工程学院 *All rights reserved. *文件名称:HDU.cpp *作 者:单昕昕 *完成日期:2015年1月27日 *版 本 号:v1.0 *问题描述:Consider the problem of tiling an n×n chessboard by polyom原创 2015-01-27 21:20:31 · 1354 阅读 · 0 评论 -
山东省第五届ACM大学生程序设计竞赛-angry_birds_again_and_again(积分)
angry_birds_again_and_againTime Limit: 2000ms Memory limit: 65536K 有疑问?点这里^_^题目描述The problems called "Angry Birds" and "Angry Birds Again and Again" has been solved by many teams in t原创 2016-04-19 19:42:15 · 1000 阅读 · 0 评论 -
山东省第四届ACM大学生程序设计竞赛-Alice and Bob(二进制&&找规律)
Alice and Bob Time Limit: 1000MS Memory limit: 65536K 题目描述 Alice and Bob like playing games very much.Today, they introduce a new game. There is a polynomial like this: (a0*x^(2^原创 2016-04-13 11:20:51 · 1074 阅读 · 2 评论 -
POJ 3258-River Hopscotch(二分法-最大化最短距离)
River HopscotchTime Limit: 2000MS Memory Limit: 65536KTotal Submissions: 12505 Accepted: 5358DescriptionEvery year the cows hold an event featuring a peculiar ver原创 2017-02-09 14:40:49 · 810 阅读 · 0 评论 -
POJ 3273-Monthly Expense(二分法-最小化最高花费)
Monthly ExpenseTime Limit: 2000MS Memory Limit: 65536KTotal Submissions: 24397 Accepted: 9484DescriptionFarmer John is an astounding accounting wizard and has rea原创 2017-02-09 14:24:25 · 2298 阅读 · 0 评论 -
POJ 1905-Expanding Rods(二分法-中心移动距离)
Expanding RodsTime Limit: 1000MS Memory Limit: 30000KTotal Submissions: 15779 Accepted: 4196DescriptionWhen a thin rod of length L is heated n degrees, it expands原创 2017-02-09 13:00:50 · 511 阅读 · 0 评论 -
HDU 5867-Water problem(单词字母个数)
Water problemTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 254 Accepted Submission(s): 168Problem DescriptionIf the numbers原创 2016-08-20 19:01:22 · 463 阅读 · 0 评论 -
HDU 5726-GCD(暴力+map)
GCDTime Limit: 10000/5000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 2527 Accepted Submission(s): 892Problem DescriptionGive you a sequence of原创 2016-08-08 08:50:08 · 585 阅读 · 5 评论 -
HDU 1028-Ignatius and the Princess III-母函数-整数拆分
问题及代码:Ignatius and the Princess IIITime Limit : 2000/1000ms (Java/Other) Memory Limit : 65536/32768K (Java/Other)Total Submission(s) : 1 Accepted Submission(s) : 1Font: Times New R原创 2015-02-09 18:30:31 · 747 阅读 · 0 评论 -
POJ 3122/HDU 1969-Pie-二分法分馅饼
问题及代码:Problem F PieTime Limit : 5000/1000ms (Java/Other) Memory Limit : 65536/32768K (Java/Other)Total Submission(s) : 3 Accepted Submission(s) : 2Font: Times New Roman | Verdana原创 2015-03-02 14:12:05 · 1419 阅读 · 1 评论 -
POJ-1338 Ugly Numbers-被2,3,5整除的数/只包含因子2 3 5的数
Ugly NumbersTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 21878 Accepted: 9772DescriptionUgly numbers are numbers whose only prime factors are 2, 3 or原创 2015-08-07 19:13:12 · 715 阅读 · 0 评论 -
POJ 3299-Humidex-湿度温度露点
HumidexTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 18775 Accepted: 6782DescriptionAdapted from Wikipedia, the free encyclopediaThe humidex is a me原创 2015-08-07 19:49:35 · 906 阅读 · 0 评论 -
HDU-2016 Multi-University Training Contest 3-Sqrt Bo-大数开方
Sqrt BoTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 131072/131072 K (Java/Others)Total Submission(s): 0 Accepted Submission(s): 0Problem DescriptionLet's define the funct原创 2016-07-26 16:07:38 · 496 阅读 · 0 评论 -
山东省第六届ACM大学生程序设计竞赛-Single Round Math(大数除法)
Single Round MathTime Limit: 1000ms Memory limit: 65536K 有疑问?点这里^_^题目描述Association for Couples Math (ACM) is a non-profit organization which is engaged in helping single people to fin原创 2016-05-23 20:30:45 · 864 阅读 · 0 评论 -
山东省第六届ACM大学生程序设计竞赛-Square Number(完全平方数)
Square NumberTime Limit: 1000ms Memory limit: 65536K 有疑问?点这里^_^题目描述In mathematics, a square number is an integer that is the square of an integer. In other words, it is the product of原创 2016-05-23 17:18:10 · 2234 阅读 · 0 评论 -
BestCoder-四条边是否能组成四边形
CA Loves StickAccepts: 381Submissions: 3204Time Limit: 2000/1000 MS (Java/Others)Memory Limit: 262144/262144 K (Java/Others)Problem DescriptionCA loves to play with sticks.On原创 2016-04-05 19:24:23 · 2360 阅读 · 0 评论 -
山东省第四届ACM大学生程序设计竞赛-Rescue The Princess(计算几何)
Rescue The PrincessTime Limit: 1000ms Memory limit: 65536K 有疑问?点这里^_^题目描述 Several days ago, a beast caught a beautiful princess and the princess was put in prison. To rescue the pr原创 2016-04-09 17:26:03 · 728 阅读 · 0 评论 -
HDU-置换群
问题及代码:/* *Copyright (c)2014,烟台大学计算机与控制工程学院 *All rights reserved. *文件名称:HDU.cpp *作 者:单昕昕 *完成日期:2015年1月27日 *版 本 号:v1.0 *问题描述:As a unicorn, the ability of using magic is the distin原创 2015-01-27 22:21:25 · 970 阅读 · 0 评论 -
HDU-博彩问题-带分数
问题及代码:/* *Copyright (c)2014,烟台大学计算机与控制工程学院 *All rights reserved. *文件名称:number.cpp *作 者:单昕昕 *完成日期:2015年2月3日 *版 本 号:v1.0 * *问题描述:Eddy's company publishes a kind of lottery.This set of lotte原创 2015-02-03 14:56:06 · 974 阅读 · 0 评论 -
HDU-Eddy's research I-拆分素数
问题及代码:Eddy's research ITime Limit : 2000/1000ms (Java/Other) Memory Limit : 65536/32768K (Java/Other)Total Submission(s) : 7 Accepted Submission(s) : 2Font: Times New Roman | Ver原创 2015-02-09 18:24:25 · 836 阅读 · 0 评论