![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
简单数学知识
文章平均质量分 74
hope1262946533
这个作者很懒,什么都没留下…
展开
-
HDU 1203 I NEED A OFFER!【01背包】
I NEED A OFFER!Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 21853 Accepted Submission(s): 8744Problem DescriptionSpeakless很早就想原创 2016-01-22 09:07:31 · 344 阅读 · 0 评论 -
Hdu 1437 天气情况【概率dp】
天气情况Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 722 Accepted Submission(s): 297Problem Description如果我们把天气分为雨天,阴天和晴天3种,在给定各种天气原创 2016-04-16 10:52:18 · 599 阅读 · 0 评论 -
Hdu 1431 素数回文【素数+回文】
素数回文Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 17372 Accepted Submission(s): 3980Problem Descriptionxiaoou33对既是素数又是回文的数特别感兴趣原创 2016-04-16 08:56:28 · 449 阅读 · 0 评论 -
CodeForces 660 A. Co-prime Array【互质+思维】
A. Co-prime Arraytime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given an array of n elements, you原创 2016-04-15 22:21:29 · 509 阅读 · 0 评论 -
POJ 1995 Raising Modulo Numbers【快速幂】
Raising Modulo NumbersTime Limit: 1000MS Memory Limit: 30000KTotal Submissions: 5477 Accepted: 3173DescriptionPeople are different. Some secretly read magazines原创 2015-08-22 20:12:26 · 308 阅读 · 0 评论 -
POJ 1930 Dead Fraction【数学】
Dead FractionTime Limit: 1000MS Memory Limit: 30000KTotal Submissions: 2463 Accepted: 802DescriptionMike is frantically scrambling to finish his thesis at the l原创 2016-04-14 21:39:01 · 522 阅读 · 0 评论 -
Hdu 2407 Knots【概率】
KnotsTime Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 261 Accepted Submission(s): 182Problem DescriptionAn even number N of strand原创 2016-04-09 09:37:56 · 607 阅读 · 0 评论 -
算法训练 最大最小公倍数 【数学】
算法训练 最大最小公倍数 时间限制:1.0s 内存限制:256.0MB 问题描述已知一个正整数N,问从1~N中任选出三个数,他们的最小公倍数最大可以为多少。输入格式输入一个正整数N。输出格式输出一个整数,表示你找到的最小公倍数。样例输入9样例输出504数据原创 2016-03-15 17:36:47 · 712 阅读 · 1 评论 -
Hdu 1205 吃糖果【思维题目】
吃糖果Time Limit: 6000/3000 MS (Java/Others) Memory Limit: 65535/32768 K (Java/Others)Total Submission(s): 31933 Accepted Submission(s): 9092Problem DescriptionHOHO,终于从Speakless手上赢走了所有的原创 2016-03-13 19:47:02 · 686 阅读 · 0 评论 -
Poj 1862 Stripies【贪心+数学】
StripiesTime Limit: 1000MS Memory Limit: 30000KTotal Submissions: 14292 Accepted: 6707DescriptionOur chemical biologists have invented a new very useful form of原创 2016-03-22 14:55:17 · 1419 阅读 · 0 评论 -
UESTC 1012 Ladygod【进制转换】
1012 LadygodTime Limit:1000MS Memory Limit:65535KB 64bit IO Format:%lld & %lluSubmit Status Practice UESTC 1012Description有一天人诹Lee在随手帮女神做题,突然女神发现了自己演算纸上的一个式子,但是式子只有原创 2016-03-19 20:34:08 · 293 阅读 · 0 评论 -
NBUT 1647 又一道简单题【数学+枚举】
1647 又一道简单题Time Limit:5000MS Memory Limit:65535KB 64bit IO Format:Submit Status Practice NBUT 1647Description输入一个四个数字组成的整数 n,你的任务是数一数有多少种方法,恰好修改一个数字,把它 变成一个原创 2016-03-19 20:15:07 · 1535 阅读 · 0 评论 -
POJ 1423 &&hdu 1018 Big Number【数学】
Big NumberTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 32172 Accepted Submission(s): 15038Problem DescriptionIn many applica原创 2015-12-17 18:55:26 · 324 阅读 · 0 评论 -
nyoj 773 开方数【快速幂】
开方数时间限制:500 ms | 内存限制:65535 KB难度:3描述现在给你两个数 n 和 p ,让你求出 p 的开 n 次方。输入每组数据包含两个数n和p。当n和p都为0时表示输入结束。(1输出对于每个输出对用输出开方后的结果k(结果小于10^9)。样例输入2 163 277 43571861840213822045440 0原创 2015-08-29 18:04:27 · 865 阅读 · 0 评论 -
CodeForces 598 A Tricky Sum【数学】
A. Tricky Sumtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputIn this problem you are to calculate the sum o原创 2016-03-12 15:47:23 · 323 阅读 · 0 评论 -
CodeForces 596 A Wilbur and Swimming Pool【数学】
A. Wilbur and Swimming Pooltime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputAfter making bad dives into swim原创 2016-03-12 15:39:20 · 338 阅读 · 0 评论 -
Hdu 2035 人见人爱A^B【快速幂】
人见人爱A^BTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 28285 Accepted Submission(s): 19363Problem Description求A^B的最后三位数表示的整原创 2015-08-23 15:00:38 · 374 阅读 · 0 评论 -
Hdu 5363 Key Set【快速幂运算】
Key SetTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 131072/131072 K (Java/Others)Total Submission(s): 533 Accepted Submission(s): 326Problem Descriptionsoda has a set S原创 2015-08-07 18:52:24 · 464 阅读 · 0 评论 -
CodeForces-630 B. Moore's Law【数学】
B. Moore's Lawtime limit per test0.5 secondsmemory limit per test64 megabytesinputstandard inputoutputstandard outputThe city administration of IT City decide原创 2016-03-11 21:37:24 · 340 阅读 · 0 评论 -
CodeForces-630 A. Again Twenty Five! 【规律】
A. Again Twenty Five!time limit per test0.5 secondsmemory limit per test64 megabytesinputstandard inputoutputstandard outputThe HR manager was disappointed agai原创 2016-03-11 21:31:48 · 331 阅读 · 0 评论 -
CodeForces 621B B. Wet Shark and Bishops【数学+思路】
B. Wet Shark and BishopsTime Limit:2000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64uSubmit Status Practice CodeForces 621BDescriptionToday, Wet Shark is原创 2016-03-07 22:28:33 · 487 阅读 · 0 评论 -
CodeForces-630 E. A rectangle【规律】
E. A rectangletime limit per test0.5 secondsmemory limit per test64 megabytesinputstandard inputoutputstandard outputDeveloping tools for creation of locations原创 2016-03-11 21:52:54 · 483 阅读 · 0 评论 -
CodeForces-630 D. Hexagons!【递推】
D. Hexagons!time limit per test0.5 secondsmemory limit per test64 megabytesinputstandard inputoutputstandard outputAfter a probationary period in the game devel原创 2016-03-11 21:46:29 · 303 阅读 · 0 评论 -
CodeForces-630 C. Lucky Numbers【规律递推】
C. Lucky Numberstime limit per test0.5 secondsmemory limit per test64 megabytesinputstandard inputoutputstandard outputThe numbers of all offices in the new bui原创 2016-03-11 21:42:02 · 536 阅读 · 0 评论 -
CodeForces-630 L. Cracking the Code【取模运算】
L. Cracking the Codetime limit per test0.5 secondsmemory limit per test64 megabytesinputstandard inputoutputstandard outputThe protection of a popular program d原创 2016-03-11 22:27:18 · 454 阅读 · 0 评论 -
CodeForces-630 M. Turn【求模运算】
M. Turntime limit per test0.5 secondsmemory limit per test64 megabytesinputstandard inputoutputstandard outputVasya started working in a machine vision company原创 2016-03-11 22:32:46 · 524 阅读 · 0 评论 -
CodeForces-630 N. Forecast【求根公式】
N. Forecasttime limit per test0.5 secondsmemory limit per test64 megabytesinputstandard inputoutputstandard outputThe Department of economic development of IT C原创 2016-03-11 22:34:53 · 385 阅读 · 0 评论 -
CodeForces-630 O. Arrow【向量+几何】
time limit per test0.5 secondsmemory limit per test64 megabytesinputstandard inputoutputstandard outputPetya has recently started working as a programmer in the IT ci原创 2016-03-11 22:36:51 · 572 阅读 · 0 评论 -
CodeForces 617B B. Chocolate【计数+累乘】
B. ChocolateTime Limit:1000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64uSubmit Status Practice CodeForces 617BDescriptionBob loves everything sweet. His原创 2016-03-07 12:53:44 · 817 阅读 · 0 评论 -
CodeForces 597 A. Divisibility【数学】
A. Divisibilitytime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputFind the number of k-divisible numbers on th原创 2016-03-12 16:09:12 · 656 阅读 · 0 评论 -
2098 分拆素数和【素数】
分拆素数和Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 26951 Accepted Submission(s): 11807Problem Description把一个偶数拆成两个不同素数的和,有几种拆原创 2015-10-03 10:54:24 · 1125 阅读 · 0 评论 -
219 An problem about date【日期的定理】
An problem about date时间限制:2000 ms | 内存限制:65535 KB难度:2描述acm的iphxer经常忘记某天是星期几,但是他记那天的具体日期,他希望你能写个程序帮帮他。 输入每行有三个整数 year,month,day,日期在1600年1月1日到9600年1月1日之间;输出输出对应的星期,用一个整原创 2015-09-14 23:17:05 · 505 阅读 · 0 评论 -
2039 三角形
三角形Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 59309 Accepted Submission(s): 20087Problem Description给定三条边,请你判断一下能不能组成一原创 2015-08-23 15:22:11 · 495 阅读 · 0 评论 -
2034 人见人爱A-B【二分+排序】
人见人爱A-BTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 55058 Accepted Submission(s): 15506Problem Description参加过上个月月赛的同学一定还原创 2015-08-23 14:39:59 · 1163 阅读 · 0 评论 -
2899 Strange fuction【二分+数学】
Strange fuctionTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 4794 Accepted Submission(s): 3419Problem DescriptionNow, h原创 2015-08-21 20:31:27 · 655 阅读 · 0 评论 -
767 因子和
因子和时间限制:1000 ms | 内存限制:65535 KB难度:1描述题目很简单明了,给你一个数n,判断它是不是素数,如果是素数就输出”Yes”,如果不是素数则输出“No”和它的因子和。例如5,输出“Yes”,6,输出“No 12”.(不包括引号)输入共有t组测试数据(1接下来有t行,每行有一个数n(1输出如果是素数,输出“Ye原创 2015-08-21 11:58:38 · 486 阅读 · 0 评论 -
2099 整除的尾数【暴力&&数学】
整除的尾数Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 28870 Accepted Submission(s): 12219Problem Description一个整数,只知道前几位,不知道末二位,被另一原创 2015-09-04 13:18:42 · 419 阅读 · 0 评论 -
527 AC_mm玩dota【模运算】
AC_mm玩dota时间限制:1000 ms | 内存限制:65535 KB难度:2描述 大家都知道AC_mm比较喜欢玩游戏,特别是擅长war3这款经典游戏。某天AC_mm来到了VS平台上 ,准备去虐菜鸟,正巧一个不小心将我们ACM队长虐了 ^_^,我们的队长这下可不高兴了,说要出一道难题让AC_mm难堪一下。题目描述是这样的,给一个正整数n,n在二进制原创 2015-08-31 22:23:04 · 561 阅读 · 0 评论 -
85 有趣的数【简单数学】
有趣的数时间限制:3000 ms | 内存限制:65535 KB难度:2描述把分数按下面的办法排成一个数表。1/1 1/2 1/3 1/4.....2/1 2/2 2/3....3/1 3/2 ....4/1..............我们以z字型方法给上表的每项编号。特定方法:第一项是1/1,然后是1/2、2/1、3/1、2/2、1/3、1/4、2原创 2015-08-29 13:51:52 · 672 阅读 · 0 评论 -
1795 The least one【素数打表】
The least oneTime Limit: 9000/3000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 423 Accepted Submission(s): 149Problem Description In the RPG原创 2015-08-01 15:43:49 · 491 阅读 · 0 评论