
数学
文章平均质量分 76
l踏雪无痕ll
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
zoj 1610 Count the Colors
Count the Colors Time 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 · 268 阅读 · 0 评论 -
Codeforces 215A A.Sereja and Coat Rack
A. Sereja and Coat Rack time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Sereja owns a restaurant for n peopl原创 2016-03-31 21:35:43 · 290 阅读 · 0 评论 -
Codeforces 368B Sereja and Suffixes
B. Sereja and Suffixes time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Sereja has an array a, consisting of原创 2016-04-01 12:15:08 · 447 阅读 · 0 评论 -
CodeForces - 630A Again Twenty Five!
Description The 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 · 292 阅读 · 0 评论 -
codeforces 630B Moore's Law
Input 1000 1000000 Output 1011.060722383550382782399454922040 Description The 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 · 309 阅读 · 0 评论 -
CodeForces 630C:Lucky Numbers
Description The 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 · 470 阅读 · 0 评论 -
CodeForces Hexagons!
Hexagons! Description After 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 · 345 阅读 · 0 评论 -
codeforces 630F Selection of Personnel(组合数)
Selection of Personnel DescriptionOne 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 · 354 阅读 · 0 评论 -
lightoj 1214 - Large Division【同余定理】
1214 - Large Division PDF (English) Statistics Forum Time Limit: 1 second(s) Memory Limit: 32 MB Given two integers, a and b, you should check whether a is原创 2016-02-25 16:10:07 · 330 阅读 · 0 评论 -
hdoj 1212 Big Number 【同余定理】
Big Number Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 6776 Accepted Submission(s): 4678 Problem Description As we know, Big Num原创 2016-02-25 16:42:28 · 340 阅读 · 0 评论 -
CodeForces - 630J Divisibility
Divisibility Description IT 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 · 385 阅读 · 0 评论 -
codeforces 630KIndivisibility(容斥原理)
Indivisibility Description IT 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 · 334 阅读 · 0 评论 -
codeforce 630N Forecast
Forecast Description The 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 · 1564 阅读 · 0 评论 -
codeforces 630R Game
Game Description There 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 · 410 阅读 · 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 · 965 阅读 · 0 评论 -
UESTC 1012 Ladygod
Ladygod Description 有一天人诹Lee在随手帮女神做题,突然女神发现了自己演算纸上的一个式子,但是式子只有两个加数却没有结果,最近在学不同进制加减法的女神忘了这个两个数字是多少进制了(只记得是小于等于$10$),但是她很好奇在可能的多少进制下这个式子得到的答案长度最长,为了从人赢Lee手中抢走女神,你需要快速计算出这个答案,例如$78+87=?$ 在$10$进制下原创 2016-03-22 20:49:43 · 363 阅读 · 0 评论 -
hdoj 1431 素数回文
素数回文 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 16501 Accepted Submission(s): 3681 Problem Description xiaoou33对既是素数又是回文的数特别感兴趣原创 2016-04-05 22:17:42 · 448 阅读 · 0 评论 -
CodeForces - 366B Dima and To-do List
B. Dima and To-do List time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output You helped Dima to have a great weeke原创 2016-03-31 21:11:57 · 488 阅读 · 0 评论 -
hdoj 5100 Chessboard
Chessboard Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 916 Accepted Submission(s): 388 Problem Description Consider the prob原创 2016-03-08 14:54:52 · 346 阅读 · 0 评论 -
LightOJ 1245 Harmonic Number (II)
G - Harmonic Number (II) Time Limit:3000MS Memory Limit:32768KB 64bit IO Format:%lld & %llu Description I was trying to solve problem '1234 - Harmonic Number', I wrote the f原创 2015-11-07 20:35:53 · 469 阅读 · 0 评论 -
lightoj 1354 - IP Checking
1354 - IP Checking PDF (English) Statistics Forum Time Limit: 2 second(s) Memory Limit: 32 MB An IP address is a 32 bit address formatted in the following way原创 2015-11-08 16:56:31 · 140 阅读 · 0 评论 -
lightoj 1294 - Positive Negative Sign
1294 - Positive Negative Sign PDF (English) Statistics Forum Time Limit: 2 second(s) Memory Limit: 32 MB Given two integers: n and m and n is divisible by 2m,原创 2015-11-08 16:50:12 · 295 阅读 · 0 评论 -
hdoj 5240 Exam
Exam Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 1034 Accepted Submission(s): 514 Problem Description As this term is going to e原创 2015-11-08 17:43:18 · 160 阅读 · 0 评论 -
lightoj 1297 - Largest Box
1297 - Largest Box PDF (English) Statistics Forum Time Limit: 2 second(s) Memory Limit: 32 MB In the following figure you can see a rectangular card. The widt原创 2015-11-08 16:54:22 · 314 阅读 · 0 评论 -
lightoj 1005 - Rooks 【组合数学】
1005 - Rooks PDF (English) Statistics Forum Time Limit: 1 second(s) Memory Limit: 32 MB A rook is a piece used in the game of chess which is played on a boa原创 2015-10-27 15:36:22 · 429 阅读 · 0 评论 -
hdoj 1034 Candy Sharing Game
Candy Sharing Game Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 4452 Accepted Submission(s): 2722 Problem Description A numbe原创 2015-12-08 21:23:28 · 333 阅读 · 0 评论 -
lightoj 1078 - Integer Divisibility 【同余定理】
1078 - Integer Divisibility PDF (English) Statistics Forum Time Limit: 2 second(s) Memory Limit: 32 MB If an integer is not divisible by 2 or 5, some multiple原创 2015-12-03 14:27:42 · 264 阅读 · 0 评论 -
hdoj 1065 I Think I Need a Houseboat
I Think I Need a Houseboat Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 11438 Accepted Submission(s): 3200 Problem Description原创 2015-12-04 22:05:04 · 282 阅读 · 0 评论 -
lightoj 1148 - Mad Counting 【数学】
1148 - Mad Counting PDF (English) Statistics Forum Time Limit: 0.5 second(s) Memory Limit: 32 MB Mob was hijacked by the mayor of the Town "TruthTown"原创 2015-10-27 16:47:50 · 364 阅读 · 0 评论 -
hdoj 5533 Dancing Stars on Me
Dancing Stars on Me Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 262144/262144 K (Java/Others) Total Submission(s): 600 Accepted Submission(s): 319 Problem Description The sky wa原创 2015-12-08 19:44:04 · 268 阅读 · 0 评论 -
lightoj 1043 - Triangle Partitioning
1043 - Triangle Partitioning PDF (English) Statistics Forum Time Limit: 0.5 second(s) Memory Limit: 32 MB See the picture below. You are given AB, AC and B原创 2015-12-08 19:41:41 · 305 阅读 · 0 评论 -
CodeForces - 366A Dima and Guards
Dima and Guards Time Limit:1000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64u Submit Status Description Nothing has changed since the last round. Dima and Inna still love原创 2016-03-29 14:32:18 · 308 阅读 · 0 评论 -
hdoj 2106 decimal system
decimal system Time Limit: 3000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 4272 Accepted Submission(s): 2415 Problem Description As we know原创 2016-03-29 15:26:51 · 392 阅读 · 0 评论 -
蓝桥杯试题 第39阶台阶
第39阶台阶 小明刚刚看完电影《第39级台阶》,离开电影院的时候,他数了数礼堂前的台阶数,恰好是39级! 站在台阶前,他突然又想着一个问题: 如果我每一步只能迈上1个或2个台阶。先迈左脚,然后左右交替,最后一步是迈右脚,也就是说一共要走偶数步。那么,上完39级台阶,有多少种不同的上法呢? 代码: /*0代表左脚,1代表右脚;*/ #include #include in原创 2016-03-18 16:45:42 · 749 阅读 · 0 评论 -
hdoj 1220 Cube
Cube Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 1736 Accepted Submission(s): 1381 Problem Description Cowl is good at solving m原创 2016-03-07 21:09:52 · 301 阅读 · 0 评论 -
hdoj 1437 天气情况
天气情况 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 717 Accepted Submission(s): 294 Problem Description 如果我们把天气分为雨天,阴天和晴天3种,在给定各种天气原创 2016-04-06 17:33:35 · 319 阅读 · 0 评论