![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
数学
文章平均质量分 68
J_Sure
唯苦修深思方能顿悟
展开
-
AOJ-AHU-OJ-394 Fibonacci numbers
Fibonacci numbersTime Limit: 1000 ms Case Time Limit: 1000 ms Memory Limit: 64 MB Description斐波那契数列应该是世界上最美的数列了,但是要是不算出它的前100000000项你就体会不到它的美丽,我们现在就要算出第N个Fibonacci数是多少 Input输入包括多组数据,原创 2014-03-01 10:11:52 · 1041 阅读 · 0 评论 -
Codeforces-289b J Polo the Penguin and Matrix
B. Polo the Penguin and Matrixtime limit per test2 secondsmemory limit per test256 megabytesLittle penguin Polo has an n × m matrix, consisting of integers. Let's index the matrix ro原创 2014-03-18 14:39:45 · 3466 阅读 · 0 评论 -
Codeforces-298b H Sail
B. Sailtime limit per test1 secondmemory limit per test256 megabytesThe polar bears are going fishing. They plan to sail from (sx, sy) to(ex, ey). However, the boat can only sail原创 2014-03-18 14:11:40 · 2665 阅读 · 0 评论 -
Codeforces-260a F Adding Digits
A. Adding Digitstime limit per test2 secondsmemory limit per test256 megabytesVasya has got two number: a and b. However, Vasya finds number a too short. So he decided to repeat th原创 2014-03-18 20:37:08 · 1502 阅读 · 0 评论 -
AOJ-AHU-OJ-87 (HDU-2289)Cup
CupTime Limit: 1000 ms Case Time Limit: 1000 ms Memory Limit: 64 MBDescriptionThe WHU ACM Team has a big cup, with which every member drinks water. Now, we know the volume of the原创 2014-03-30 21:07:05 · 1081 阅读 · 0 评论 -
AOJ-AHU-OJ-186 Color Me Less
Color Me LessTime Limit: 1000 ms Case Time Limit: 1000 ms Memory Limit: 64 MBDescriptionA color reduction is a mapping from a set of discrete colors to a smaller one. The solutio原创 2014-04-05 13:41:15 · 1026 阅读 · 0 评论 -
AOJ-AHU-OJ-662 越来越快
越来越快Time Limit: 1000 ms Case Time Limit: 1000 ms Memory Limit: 64 MBTotal Submission: 597 Submission Accepted: 41DescriptionViky最近对数列有很大的兴趣,比如斐波那契数列。但研究斐波那契数列的人太多了,Viky决定用递推公式定原创 2014-03-28 17:07:43 · 1200 阅读 · 0 评论 -
Codeforces-258B Little Elephant and Elections
B. Little Elephant and Electionstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputThere have recently been elections i原创 2014-08-22 23:28:10 · 943 阅读 · 0 评论 -
Round #9 C.Hexadecimal's Numbers
题目链接:原创 2014-04-19 19:31:35 · 1300 阅读 · 0 评论 -
Codeforces-268b E Buttons
B. Buttonstime limit per test1 secondmemory limit per test256 megabytesManao is trying to open a rather challenging lock. The lock has n buttons on it and to open it, you should pr原创 2014-03-18 13:15:10 · 2223 阅读 · 1 评论 -
AOJ-AHU-OJ-661 跨越千山万水只为找到你
跨越千山万水只为找到你Time Limit: 1000 ms Case Time Limit: 1000 ms Memory Limit: 64 MBDescription在一个二维平面上,有n条直线和不重叠的两个点(点S,点T,数据保证S和T一定不在n条直线中的任何一条上)。问:从点S到点T最少需要跨越多少条直线?注:题目有多组数据。I原创 2014-03-28 15:59:52 · 1165 阅读 · 0 评论 -
AOJ-AHU-OJ-294 NBA Finals
NBA FinalsTime Limit: 1000 ms Case Time Limit: 1000 ms Memory Limit: 64 MBDescriptionConsider two teams, Lakers and Celtics, playing a series of NBA Finals until one of the teams wins n原创 2014-03-18 19:17:28 · 1965 阅读 · 0 评论 -
AOJ-AHU-OJ-4 1、2、3、4、5...
1、2、3、4、5...Time Limit: 1000 ms Case Time Limit: 1000 ms Memory Limit: 64 MB Description安徽大学校园里绿树成荫,环境非常舒适,因此也引来一批动物朋友来此居住。童心未泯的redraiment就经常带些碎面包什么的去广场喂鸽子和兔子,并和它们玩耍。一点也不像大学生,还是一副老不正经的样子,呵原创 2014-03-01 10:11:39 · 1625 阅读 · 0 评论 -
AOJ-AHU-OJ-34 Euchre Results
Euchre ResultsTime Limit: 1000 ms Case Time Limit: 1000 ms Memory Limit: 64 MBDescriptionAnna, Betty, Cindy and Zelda like playing the card game Euchre. Euchre is a game for two teams of原创 2014-03-02 21:06:35 · 1170 阅读 · 0 评论 -
AOJ-AHU-OJ-592 神奇的叶子
神奇的叶子Time Limit: 1000 ms Case Time Limit: 1000 ms Memory Limit: 64 MB Description自然界中的很多事物都遵循着数学的规律。在热带雨林中生长着一种植物,它的叶片呈漩涡状排列在根的周围,并且叶片的长度构成了一个等差数列。最里面的一片叶子最短,长度为a1。第二片、第三片、第k片叶子的长度分别为a1+d,原创 2014-03-01 10:12:03 · 1349 阅读 · 0 评论 -
AOJ-AHU-OJ-12 Box of Bricks
Box of BricksTime Limit: 1000 ms Case Time Limit: 1000 ms Memory Limit: 64 MB DescriptionLittle Bob likes playing with his box of bricks. He puts the bricks one upon another and builds sta原创 2014-03-01 10:12:00 · 1094 阅读 · 0 评论 -
AOJ-AHU-OJ-59 09年3月选拔赛第4题
09年3月选拔赛第4题Time Limit: 1000 ms Case Time Limit: 1000 ms Memory Limit: 64 MB Description最近图书馆的工作人员在检查馆藏书目的时候发现,有很多书籍久久没有被借书人归还。于是工作人员决定给这些不负责任的借书人发信件通知他们来图书馆归还书籍并缴纳罚款(会有用吗?)。现在请你为图书馆工作人员编写程原创 2014-03-01 10:11:58 · 1383 阅读 · 0 评论 -
AOJ-AHU-OJ-8 童年生活二三事
童年生活二三事Time Limit: 1000 ms Case Time Limit: 1000 ms Memory Limit: 64 MB DescriptionRedraiment小时候走路喜欢蹦蹦跳跳,他最喜欢在楼梯上跳来跳去。 但年幼的他一次只能走上一阶或者一下子蹦上两阶。 现在一共有N阶台阶,请你计算一下Redraiment从第0阶到第N阶共有几种走法。原创 2014-03-01 10:11:48 · 1734 阅读 · 0 评论 -
AOJ-AHU-OJ-675 定位赛
定位赛Time Limit: 1000 ms Case Time Limit: 1000 ms Memory Limit: 64 MBDescriptionLOLS4.1赛季正式开始,排位分又重置了,上赛季是最强王者的DoubleLee,JCBOSS迫不及待地打开LOL纳尼?!!定位赛换成ACM题了?!定位赛题目如下:给你n个整数(依次编原创 2014-03-28 21:04:29 · 1370 阅读 · 0 评论 -
USACO-cha1-sec1.1 Friday the Thirteenth
Friday the ThirteenthIs Friday the 13th really an unusual event?That is, does the 13th of the month land on a Friday less often than on any other day of the week? To answer this question, wr原创 2014-04-06 16:06:14 · 958 阅读 · 0 评论