![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
数学题
文章平均质量分 67
LV耗子
现在,当我不解时就想到你!以后,当你不解时请你想起我!
展开
-
杭电--2018--母牛的故事--水题
#include int main (void){ int n,i,s,a,b,c,d,t; while(scanf("%d",&n)!=EOF) { if(!n) break; if(n>3) { a=1,b=2,c=3; for(i=0;in-3;原创 2013-04-21 10:16:15 · 991 阅读 · 0 评论 -
HDU--杭电--2522--A simple problem--数学基础
A simple problemTime Limit: 4000/2000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 2795 Accepted Submission(s): 984Problem DescriptionZty很痴迷数学问题原创 2013-11-25 21:39:20 · 1042 阅读 · 0 评论 -
HDU--杭电--Can you solve this equation?--二分
Can you solve this equation?Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 6176 Accepted Submission(s): 2889Problem Descriptio原创 2013-11-25 21:51:03 · 1044 阅读 · 0 评论 -
HDU--杭电--2141--Can you find it?--二分
Can you find it?Time Limit: 10000/3000 MS (Java/Others) Memory Limit: 32768/10000 K (Java/Others)Total Submission(s): 8570 Accepted Submission(s): 2240Problem DescriptionGive you原创 2013-11-25 21:57:47 · 1215 阅读 · 0 评论 -
HDU--杭电--1271--整数对--数学题(较难)
整数对Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 2275 Accepted Submission(s): 771Problem DescriptionGardon和小希玩了一个游戏,Gardon随原创 2013-11-25 22:07:40 · 1186 阅读 · 0 评论 -
HDU--杭电--2303--The Embarrassed Cryptographer--暴力爆菊花
The Embarrassed CryptographerTime Limit: 3000/2000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 458 Accepted Submission(s): 141Problem Description原创 2013-11-28 22:35:40 · 1069 阅读 · 0 评论 -
HDU--杭电--2105--The Center of Gravity--数学题,求三角形重心
The Center of GravityTime Limit: 3000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 3775 Accepted Submission(s): 2142Problem DescriptionEver原创 2013-12-04 23:31:10 · 1198 阅读 · 0 评论 -
HDU--1999-不可摸数
不可摸数Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 8154 Accepted Submission(s): 2095Problem Descriptions(n)是正整数n的真因子之和,即小于n且原创 2014-07-15 19:52:19 · 816 阅读 · 0 评论 -
HDU--5344--2015 Multi-University Training Contest 5--MZL's xor
MZL's xorTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 354 Accepted Submission(s): 254Problem Description MZL loves xor ver原创 2015-08-05 09:49:21 · 560 阅读 · 0 评论 -
HUNNU--湖师大--11407--It Is Cold
[F] It Is ColdDr. Ziad Najem is known as the godfather of the ACPC. When the regional contest was held in Alexandria, Egypt, the weather was very cold. What surprised Dr. Ziad was that in the co原创 2013-10-07 22:49:14 · 1512 阅读 · 0 评论 -
HUNNU--湖师大--11409--Skill
SkillYasser is an Egyptian coach; he will be organizing a training camp in Jordan. At the end of camp, Yasser was quiet amazed that the participants solved all of the hard problems he had prepared原创 2013-10-07 22:33:43 · 1199 阅读 · 0 评论 -
杭电--2175--汉诺塔IX--数学题
汉诺塔IXTime Limit: 3000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 537 Accepted Submission(s): 314Problem Description1,2,...,n表示n个盘子.数字大盘子就大.原创 2013-07-23 10:31:42 · 1277 阅读 · 0 评论 -
杭电--1997--汉诺塔VII--数学题
汉诺塔VIITime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 827 Accepted Submission(s): 545Problem Descriptionn个盘子的汉诺塔问题的最少移动次数是2^n-1原创 2013-07-23 10:29:40 · 945 阅读 · 0 评论 -
杭电--2077--汉诺塔IV--数学题
汉诺塔IVTime Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 2715 Accepted Submission(s): 2070Problem Description还记得汉诺塔III吗?他的规则是这样的:不允原创 2013-07-21 20:49:50 · 1310 阅读 · 0 评论 -
杭电--2064--汉诺塔III--数学题
汉诺塔IIITime Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 7049 Accepted Submission(s): 3093Problem Description约19世纪末,在欧州的商店中出售一种智力玩原创 2013-07-21 20:48:16 · 980 阅读 · 0 评论 -
杭电--1996--汉诺塔VI--数学题
汉诺塔VITime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 1089 Accepted Submission(s): 770Problem Descriptionn个盘子的汉诺塔问题的最少移动次数是2^n-1原创 2013-07-21 20:46:48 · 1052 阅读 · 0 评论 -
杭电--1995--汉诺塔V--数学题
汉诺塔VTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 1798 Accepted Submission(s): 1077Problem Description用1,2,...,n表示n个盘子,称为1号盘,原创 2013-07-21 20:45:14 · 1175 阅读 · 0 评论 -
杭电--1597--那个112123123412345123456123456712345678123456789
我是把它分层来求的,也就是说第一层是1,第二层是12,第三层是123......你们该懂的!!#include #include using namespace std;int main (void){ int k,n,ss[10]={0,1,2,3,4,5,6,7,8,9}; //归根结底是在123456789里面取 double a,b,c,d,e,f;原创 2013-07-16 23:47:13 · 1501 阅读 · 0 评论 -
杭电--1207--汉诺塔II--数学题
汉诺塔IITime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 3712 Accepted Submission(s): 1848Problem Description经典的汉诺塔问题经常作为一个递归的经典例题存原创 2013-07-21 20:43:38 · 1344 阅读 · 0 评论 -
HDU--5349--2015 Multi-University Training Contest 5--MZL's simple problem
MZL's simple problemTime Limit: 3000/1500 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 595 Accepted Submission(s): 294Problem Description A simp原创 2015-08-05 09:56:38 · 470 阅读 · 0 评论