上一页 1 ··· 34 35 36 37 38 39 40 41 42 ··· 50 下一页
摘要: Problem Description: Problem Description: 在一个二维平面,从左到右竖立n根高度分别为:a[1],a[2],....a[n],且宽度都为1的木板。试给出平面内最大的矩阵面积。 Input: 输入包含多组测试数据,每一组数据的第一行输入正整数n(<=5000), 阅读全文
posted @ 2018-05-13 10:14 霜雪千年 阅读(567) 评论(0) 推荐(0)
摘要: Chocolate,Chocolate Chocolate,Chocolate Time Limit: 2000/1000ms (Java/Others) Time Limit: 2000/1000ms (Java/Others) Problem Description: 都说发神喜欢吃巧克力,有一 阅读全文
posted @ 2018-05-13 08:36 霜雪千年 阅读(166) 评论(0) 推荐(0)
摘要: 招新笔试题系列——买包子 招新笔试题系列——买包子 Time Limit: 2000/1000ms (Java/Others) Time Limit: 2000/1000ms (Java/Others) Problem Description: 小华刚到大学,一天早上她替她室友买早餐,一共要N个包子 阅读全文
posted @ 2018-05-13 07:51 霜雪千年 阅读(733) 评论(0) 推荐(0)
摘要: Problem Description Op tech briefing, 2002/11/02 06:42 CST "The item is locked in a Klein safe behind a painting in the second-floor library. Klein sa 阅读全文
posted @ 2018-05-12 20:32 霜雪千年 阅读(269) 评论(0) 推荐(0)
摘要: 题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1010 Problem Description The doggie found a bone in an ancient maze, which fascinated him a lot. Howeve 阅读全文
posted @ 2018-05-12 16:52 霜雪千年 阅读(313) 评论(0) 推荐(0)
摘要: Problem Description: 蛇形矩阵是由1开始的自然数依次排列成的一个矩阵上三角形。 Input: 本题有多组数据,每组数据由一个正整数N组成。(N不大于100) Output: 对于每一组数据,输出一个N行的蛇形矩阵。两组输出之间不要额外的空行。矩阵三角中同一行的数字用一个空格分开。 阅读全文
posted @ 2018-05-12 13:36 霜雪千年 阅读(1924) 评论(3) 推荐(1)
摘要: 拼接数字 拼接数字 Time Limit: 2000/1000ms (Java/Others) Time Limit: 2000/1000ms (Java/Others) Problem Description: 给定一个正整数数组,现在把数组所有数字都拼接成一个大数字,如何使得拼接后的数字最小。 阅读全文
posted @ 2018-05-12 08:58 霜雪千年 阅读(514) 评论(0) 推荐(0)
摘要: Scramble Sort Scramble Sort Time Limit: 2000/1000ms (Java/Others) Time Limit: 2000/1000ms (Java/Others) Problem Description: In this problem you will 阅读全文
posted @ 2018-05-11 23:28 霜雪千年 阅读(292) 评论(0) 推荐(0)
摘要: Problem Description: Problem Description: 广财建校33年了,如今迎来了她的校庆。 小财最近想在研究素数,她突发奇想,把包含33的素数称为校庆素数。 她想知道在L和R之间(包含L和R)有多少个校庆素数,她觉得这个问题太简单了,于是想考一下你。 比如 2333 阅读全文
posted @ 2018-05-11 19:06 霜雪千年 阅读(158) 评论(0) 推荐(0)
摘要: Problem Description: Problem Description: 斐波那契数列定义如下:f(0)=0,f(1)=1,f(n+2)=f(n+1)+f(n); 求斐波那契数列的第n项对10009取余后的结果。 Input: 多组测试,每组测试输入一个整数n(0<=n<=10^17). 阅读全文
posted @ 2018-05-11 10:58 霜雪千年 阅读(305) 评论(0) 推荐(0)
上一页 1 ··· 34 35 36 37 38 39 40 41 42 ··· 50 下一页