- 博客(35)
- 资源 (1)
- 收藏
- 关注
原创 nyoj 69 数的长度【斯特林公式】
数的长度时间限制:3000 ms | 内存限制:65535 KB难度:1描述 N!阶乘是一个非常大的数,大家都知道计算公式是N!=N*(N-1)······*2*1.现在你的任务是计算出N!的位数有多少(十进制)?输入首行输入n,表示有多少组测试数据(n随后n行每行输入一组测试数据 N( 0 输出对于每个数N,输出N!的(十进制
2016-03-29 17:27:59 496
原创 nyoj 139 我排第几个【数学】【康托展开】
我排第几个时间限制:1000 ms | 内存限制:65535 KB难度:3描述现在有"abcdefghijkl”12个字符,将其所有的排列中按字典序排列,给出任意一种排列,说出这个排列在所有的排列中是第几小的?输入第一行有一个整数n(0随后有n行,每行是一个排列;输出输出一个整数m,占一行,m表示排列是第几位;样例输入3ab
2016-03-24 17:19:25 393 1
原创 hdoj 1872 稳定排序 【判断排序是否稳定】
稳定排序Time Limit: 3000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 4597 Accepted Submission(s): 1787Problem Description大家都知道,快速排序是不稳定的排序方法。
2016-03-17 17:03:33 830
原创 hdoj 1877 又一版 A+B 【进制转换】
又一版 A+BTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 15354 Accepted Submission(s): 5875Problem Description输入两个不超过整型定义的非负10进
2016-03-17 16:58:28 374
原创 hdoj 1799 循环多少次? 【推理】【组合数】
循环多少次?Time Limit: 3000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 3846 Accepted Submission(s): 1470Problem Description 我们知道,在编程中,我们时常需要考
2016-03-17 16:53:03 467
原创 hdoj 2073 无限的路【数学】
无限的路Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 7648 Accepted Submission(s): 3939Problem Description甜甜从小就喜欢画图画,最近他买了一支智
2016-03-17 16:50:34 570
原创 hdoj 1205 吃糖果 【鸽巢原理】
吃糖果Time Limit: 6000/3000 MS (Java/Others) Memory Limit: 65535/32768 K (Java/Others)Total Submission(s): 32114 Accepted Submission(s): 9129Problem DescriptionHOHO,终于从Speakless
2016-03-17 16:48:01 458
原创 CF 622 A. Infinite Sequence【找无限数列中第i个数是几】
A. Infinite Sequencetime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputConsider the infinite sequence of integ
2016-03-17 16:41:53 965 3
原创 CF631 A. Interview【位运算】
A. Interviewtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputBlake is a CEO of a large company called "Blake
2016-03-17 16:38:57 1059 1
原创 CF 598A 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-17 16:36:10 488
原创 CF 596A. 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-17 16:27:14 501
原创 codeforces 630~~【组合数 C(n,m)】
F - Selection of PersonnelTime Limit:500MS Memory Limit:65536KB 64bit IO Format:%I64d & %I64uSubmit StatusDescriptionOne company of IT City decided to create a group of inn
2016-03-08 20:40:19 701
原创 E - A rectangle
E - A rectangleTime Limit:500MS Memory Limit:65536KB 64bit IO Format:%I64d & %I64uSubmit StatusDescriptionDeveloping tools for creation of locations maps for turn-based fig
2016-03-08 20:39:08 462
原创 D - Hexagons!
D - Hexagons!Time Limit:500MS Memory Limit:65536KB 64bit IO Format:%I64d & %I64uSubmit StatusDescriptionAfter a probationary period in the game development company of IT Ci
2016-03-08 20:37:18 686
原创 C - Lucky Numbers
C - Lucky NumbersTime Limit:500MS Memory Limit:65536KB 64bit IO Format:%I64d & %I64uSubmit StatusDescriptionThe numbers of all offices in the new building of the Tax Office
2016-03-08 20:35:40 521
原创 B - Moore's Law
B - Moore's LawTime Limit:500MS Memory Limit:65536KB 64bit IO Format:%I64d & %I64uSubmit StatusDescriptionThe city administration of IT City decided to fix up a symbol of s
2016-03-08 20:34:58 737
原创 A - Again Twenty Five!【思维题】
A - Again Twenty Five!Time Limit:500MS Memory Limit:65536KB 64bit IO Format:%I64d & %I64uSubmit StatusDescriptionThe HR manager was disappointed again. The last applicant fai
2016-03-08 20:33:36 418
原创 NBUT 1655 【思维】
[1655] 木块拼接时间限制: 1000 ms 内存限制: 65535 K问题描述好奇的skyv95想要做一个正方形的木块,现在有三种颜色的矩形木块,颜色分别为"A","B","C"。他现在很想把三个木块拼接成一个大正方形,现在求助于你们,问分别给你们三种颜色矩形的两个边长,判断是否能组成一个正方形。输入依次输入颜色为A的矩形的两边长度,颜色为B的矩形的两边长
2016-03-06 19:15:48 315
原创 CF 626B【讨论所有情况】
B. Cardstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputCatherine has a deck of n cards, each of which is
2016-03-06 19:15:31 433
原创 hdoj 1418 抱歉 【欧拉公式】
抱歉Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 4394 Accepted Submission(s): 1912Problem Description非常抱歉,本来兴冲冲地搞一场练习赛,由于我
2016-03-06 19:15:09 306
原创 CF 598D. Igor In the Museum【DFS】
D. Igor In the Museumtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputIgor is in the museum and he wants to
2016-03-06 19:14:52 483
原创 hdoj 5630 Rikka with Chess【思维】
Rikka with ChessTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 503 Accepted Submission(s): 420Problem DescriptionYuta gives
2016-03-06 19:14:33 367
原创 POJ 3187 Backward Digit Sums【杨辉三角】【全排列】
Backward Digit SumsTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 5681 Accepted: 3292DescriptionFJ and his cows enjoy playing a mental game. They wri
2016-03-06 19:14:09 267
原创 hdoj 1027 Ignatius and the Princess II 【全排列】【STL】
Ignatius and the Princess IITime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 6383 Accepted Submission(s): 3774Problem Description
2016-03-06 19:13:23 263
原创 hdoj 2108 Shape of HDU 【向量叉乘判是否共线】
Shape of HDUTime Limit: 3000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 7071 Accepted Submission(s): 3206Problem Description话说上回讲到海东集团推选老
2016-03-04 21:21:56 1082
原创 hdoj 2058 The sum problem 【等差数列求和】
The sum problemTime Limit: 5000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 20890 Accepted Submission(s): 6151Problem DescriptionGiven a s
2016-03-04 20:09:18 298
原创 hdoj 2056 Rectangles 【求矩形面积】
RectanglesTime Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 19496 Accepted Submission(s): 6321Problem DescriptionGiven two rect
2016-03-04 19:41:36 573
原创 hdoj 2051 Bitset【10进制转2进制】
BitsetTime Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 18437 Accepted Submission(s): 13833Problem DescriptionGive you a number
2016-03-04 19:37:24 1862
原创 hdoj 1811 Rank of Tetris【拓扑排序 + 并查集】
Rank of TetrisTime Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 7597 Accepted Submission(s): 2161Problem Description自从Lele开发了Ra
2016-03-03 17:47:30 308
原创 poj 2367 Genealogical tree【拓扑排序】
Genealogical treeTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 4202 Accepted: 2790 Special JudgeDescriptionThe system of Martians' blood relatio
2016-03-02 21:13:54 230
原创 poj 3687 Labeling Balls【拓扑排序 输出元素在拓扑序列中的位置】
Labeling BallsTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 13014 Accepted: 3755DescriptionWindy has N balls of distinct weights from 1 unit to N un
2016-03-02 20:10:45 289
原创 hdoj 2647 Reward【拓扑排序】
RewardTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 6611 Accepted Submission(s): 2036Problem DescriptionDandelion's uncle i
2016-03-01 17:53:10 387
原创 hdoj 3342 Legal or Not【拓扑排序】
Legal or NotTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 6514 Accepted Submission(s): 3043Problem DescriptionACM-DIY is a
2016-03-01 16:14:25 268
原创 hdoj 4324 Triangle LOVE【拓扑排序】
Triangle LOVETime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 4133 Accepted Submission(s): 1630Problem DescriptionRecently,
2016-03-01 16:12:43 268
原创 hdoj 4857 逃生【拓扑排序】
逃生Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 3123 Accepted Submission(s): 878Problem Description糟糕的事情发生啦,现在大家都忙着逃命。但
2016-03-01 16:11:51 333
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人