数学
文章平均质量分 76
l踏雪无痕ll
这个作者很懒,什么都没留下…
展开
-
zoj 1610 Count the Colors
Count the ColorsTime Limit: 2 Seconds Memory Limit: 65536 KB Painting some colored segments on a line, some previously painted segments may be covered by some the subsequent ones.Your原创 2015-11-07 17:34:16 · 258 阅读 · 0 评论 -
Codeforces 215A A.Sereja and Coat Rack
A. Sereja and Coat Racktime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputSereja owns a restaurant for n peopl原创 2016-03-31 21:35:43 · 266 阅读 · 0 评论 -
Codeforces 368B Sereja and Suffixes
B. Sereja and Suffixestime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputSereja has an array a, consisting of原创 2016-04-01 12:15:08 · 420 阅读 · 0 评论 -
CodeForces - 630A Again Twenty Five!
DescriptionThe HR manager was disappointed again. The last applicant failed the interview the same way as 24 previous ones. "Do I give such a hard task?" — the HR manager thought. "Just raise numb原创 2016-03-09 19:25:18 · 264 阅读 · 0 评论 -
codeforces 630B Moore's Law
Input1000 1000000Output1011.060722383550382782399454922040DescriptionThe city administration of IT City decided to fix up a symbol of scientific and technical progress in the ci原创 2016-03-09 19:51:43 · 289 阅读 · 0 评论 -
CodeForces 630C:Lucky Numbers
DescriptionThe numbers of all offices in the new building of the Tax Office of IT City will have lucky numbers.Lucky number is a number that consists of digits 7 and 8 only. Find the maximum num原创 2016-03-09 20:10:53 · 436 阅读 · 0 评论 -
CodeForces Hexagons!
Hexagons!DescriptionAfter a probationary period in the game development company of IT City Petya was included in a group of the programmers that develops a new turn-based strategy game resem原创 2016-03-09 20:39:21 · 323 阅读 · 0 评论 -
codeforces 630F Selection of Personnel(组合数)
Selection of PersonnelDescriptionOne company of IT City decided to create a group of innovative developments consisting from 5 to 7 people and hire new employees for it. After placing an advertismen原创 2016-03-09 21:02:53 · 322 阅读 · 0 评论 -
lightoj 1214 - Large Division【同余定理】
1214 - Large Division PDF (English)StatisticsForumTime Limit: 1 second(s)Memory Limit: 32 MBGiven two integers, a and b, you should check whether a is原创 2016-02-25 16:10:07 · 308 阅读 · 0 评论 -
hdoj 1212 Big Number 【同余定理】
Big NumberTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 6776 Accepted Submission(s): 4678Problem DescriptionAs we know, Big Num原创 2016-02-25 16:42:28 · 317 阅读 · 0 评论 -
CodeForces - 630J Divisibility
DivisibilityDescriptionIT City company developing computer games invented a new way to reward its employees. After a new game release users start buying it actively, and the company tracks t原创 2016-03-10 20:10:34 · 342 阅读 · 0 评论 -
codeforces 630KIndivisibility(容斥原理)
IndivisibilityDescriptionIT City company developing computer games decided to upgrade its way to reward its employees. Now it looks the following way. After a new game release users start bu原创 2016-03-10 20:23:45 · 319 阅读 · 0 评论 -
codeforce 630N Forecast
ForecastDescriptionThe Department of economic development of IT City created a model of city development till year 2100.To prepare report about growth perspectives it is required to get gr原创 2016-03-10 20:53:48 · 1546 阅读 · 0 评论 -
codeforces 630R Game
GameDescriptionThere is a legend in the IT City college. A student that failed to answer all questions on the game theory exam is given one more chance by his professor. The student has to pla原创 2016-03-11 11:31:18 · 390 阅读 · 0 评论 -
NBUT [1647] 又一道简单题
[1647] 又一道简单题时间限制: 5000 ms 内存限制: 65535 K问题描述输入一个四个数字组成的整数 n,你的任务是数一数有多少种方法,恰好修改一个数字,把它 变成一个完全平方数(不能把首位修改成 0)。比如 n=7844,有两种方法:3844=62^2和 7744=88^2。输入输入第一行为整数 T原创 2016-03-22 19:57:13 · 936 阅读 · 0 评论 -
UESTC 1012 Ladygod
LadygodDescription有一天人诹Lee在随手帮女神做题,突然女神发现了自己演算纸上的一个式子,但是式子只有两个加数却没有结果,最近在学不同进制加减法的女神忘了这个两个数字是多少进制了(只记得是小于等于$10$),但是她很好奇在可能的多少进制下这个式子得到的答案长度最长,为了从人赢Lee手中抢走女神,你需要快速计算出这个答案,例如$78+87=?$ 在$10$进制下原创 2016-03-22 20:49:43 · 342 阅读 · 0 评论 -
hdoj 1431 素数回文
素数回文Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 16501 Accepted Submission(s): 3681Problem Descriptionxiaoou33对既是素数又是回文的数特别感兴趣原创 2016-04-05 22:17:42 · 415 阅读 · 0 评论 -
CodeForces - 366B Dima and To-do List
B. Dima and To-do Listtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou helped Dima to have a great weeke原创 2016-03-31 21:11:57 · 458 阅读 · 0 评论 -
hdoj 5100 Chessboard
ChessboardTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 916 Accepted Submission(s): 388Problem DescriptionConsider the prob原创 2016-03-08 14:54:52 · 326 阅读 · 0 评论 -
LightOJ 1245 Harmonic Number (II)
G - Harmonic Number (II)Time Limit:3000MS Memory Limit:32768KB 64bit IO Format:%lld & %lluDescriptionI was trying to solve problem '1234 - Harmonic Number', I wrote the f原创 2015-11-07 20:35:53 · 444 阅读 · 0 评论 -
lightoj 1354 - IP Checking
1354 - IP CheckingPDF (English)StatisticsForumTime Limit: 2 second(s)Memory Limit: 32 MBAn IP address is a 32 bit address formatted in the following way原创 2015-11-08 16:56:31 · 123 阅读 · 0 评论 -
lightoj 1294 - Positive Negative Sign
1294 - Positive Negative SignPDF (English)StatisticsForumTime Limit: 2 second(s)Memory Limit: 32 MBGiven two integers: n and m and n is divisible by 2m,原创 2015-11-08 16:50:12 · 274 阅读 · 0 评论 -
hdoj 5240 Exam
ExamTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1034 Accepted Submission(s): 514Problem DescriptionAs this term is going to e原创 2015-11-08 17:43:18 · 140 阅读 · 0 评论 -
lightoj 1297 - Largest Box
1297 - Largest BoxPDF (English)StatisticsForumTime Limit: 2 second(s)Memory Limit: 32 MBIn the following figure you can see a rectangular card. The widt原创 2015-11-08 16:54:22 · 294 阅读 · 0 评论 -
lightoj 1005 - Rooks 【组合数学】
1005 - RooksPDF (English)StatisticsForumTime Limit: 1 second(s)Memory Limit: 32 MBA rook is a piece used in the game of chess which is played on a boa原创 2015-10-27 15:36:22 · 399 阅读 · 0 评论 -
hdoj 1034 Candy Sharing Game
Candy Sharing GameTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 4452 Accepted Submission(s): 2722Problem DescriptionA numbe原创 2015-12-08 21:23:28 · 313 阅读 · 0 评论 -
lightoj 1078 - Integer Divisibility 【同余定理】
1078 - Integer DivisibilityPDF (English)StatisticsForumTime Limit: 2 second(s)Memory Limit: 32 MBIf an integer is not divisible by 2 or 5, some multiple原创 2015-12-03 14:27:42 · 248 阅读 · 0 评论 -
hdoj 1065 I Think I Need a Houseboat
I Think I Need a HouseboatTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 11438 Accepted Submission(s): 3200Problem Description原创 2015-12-04 22:05:04 · 263 阅读 · 0 评论 -
lightoj 1148 - Mad Counting 【数学】
1148 - Mad CountingPDF (English)StatisticsForumTime Limit: 0.5 second(s)Memory Limit: 32 MBMob was hijacked by the mayor of the Town "TruthTown"原创 2015-10-27 16:47:50 · 352 阅读 · 0 评论 -
hdoj 5533 Dancing Stars on Me
Dancing Stars on MeTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 262144/262144 K (Java/Others)Total Submission(s): 600 Accepted Submission(s): 319Problem DescriptionThe sky wa原创 2015-12-08 19:44:04 · 253 阅读 · 0 评论 -
lightoj 1043 - Triangle Partitioning
1043 - Triangle PartitioningPDF (English)StatisticsForumTime Limit: 0.5 second(s)Memory Limit: 32 MBSee the picture below.You are given AB, AC and B原创 2015-12-08 19:41:41 · 275 阅读 · 0 评论 -
CodeForces - 366A Dima and Guards
Dima and GuardsTime Limit:1000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64uSubmit StatusDescriptionNothing has changed since the last round. Dima and Inna still love原创 2016-03-29 14:32:18 · 281 阅读 · 0 评论 -
hdoj 2106 decimal system
decimal systemTime Limit: 3000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 4272 Accepted Submission(s): 2415Problem DescriptionAs we know原创 2016-03-29 15:26:51 · 373 阅读 · 0 评论 -
蓝桥杯试题 第39阶台阶
第39阶台阶小明刚刚看完电影《第39级台阶》,离开电影院的时候,他数了数礼堂前的台阶数,恰好是39级! 站在台阶前,他突然又想着一个问题: 如果我每一步只能迈上1个或2个台阶。先迈左脚,然后左右交替,最后一步是迈右脚,也就是说一共要走偶数步。那么,上完39级台阶,有多少种不同的上法呢?代码:/*0代表左脚,1代表右脚;*/ #include#includein原创 2016-03-18 16:45:42 · 722 阅读 · 0 评论 -
hdoj 1220 Cube
CubeTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 1736 Accepted Submission(s): 1381Problem DescriptionCowl is good at solving m原创 2016-03-07 21:09:52 · 282 阅读 · 0 评论 -
hdoj 1437 天气情况
天气情况Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 717 Accepted Submission(s): 294Problem Description如果我们把天气分为雨天,阴天和晴天3种,在给定各种天气原创 2016-04-06 17:33:35 · 291 阅读 · 0 评论