A - Problem A CodeForces - 1A Theatre Square in the capital city of Berland has a recta...
A - Problem A CodeForces - 1A Theatre Square in the capital city of Berland has a recta...
数列有序!——hdu-2019 Problem Description 有n(n<=100)个整数,已经按照从小到大顺序排列好,现在另外给一个整数x,请将该数插入到序列中,并...
水仙花数———hdu-2010 Problem Description 春天是鲜花的季节,水仙花就是其中最迷人的代表,数学上有个水仙花数,他是这样定义的:“水仙花数”是指一个...
Let the Balloon Rise----hdu-1004 Problem Description Contest time again! How excited it...
A + B Again----hdu-2057 Problem Description There must be many A + B problems in our HD...
空心三角形------HDU2091 Problem Description 把一个字符三角形掏空,就能节省材料成本,减轻重量,但关键是为了追求另一种视觉效果。在设计的过程中...
G - Problem G----hdu6292 著名出题人小Q每次比赛后都会写一份《赛题分析》,包含比赛概况、每题的参考算法以及一些统计数值。 对于一道题来说,小Q会统计最...
B - Problem B 用1,2,...,n表示n个盘子,称为1号盘,2号盘,...。号数大盘子就大。经典的汉诺塔问题经常作为一个递归的经典例题存在。可能有人并不知道汉诺...
J - Problem J 给定一个日期,输出这个日期是该年的第几天。 Input 输入数据有多组,每组占一行,数据格式为YYYY/MM/DD组成,具体参见sample in...
[D - Problem D] 给定三条边,请你判断一下能不能组成一个三角形。 Input 输入数据第一行包含一个数M,接下有M行,每行一个实例,包含三个正数A,B,C。其中...
[A - Problem A] One hot summer day Pete and his friend Billy decided to buy a watermelo...
A + B Problem Too This problem is also a A + B problem,but it has a little difference,y...
计算球体积 根据输入的半径值,计算球的体积。 Input 输入数据有多组,每组占一行,每行包括一个实数,表示球的半径。 Output 输出对应的球的体积,对于每组输入数据,输...
ASCII码排序 Input 输入数据有多组,每组占一行,有三个字符组成,之间无空格。 Output 对于每组输入数据,输出一行,字符中间用一个空格分开。 Sample In...
A + B Problem Calculate A + B. Inpout Each line will contain two integers A and B. Proc...
Stones on the Table There are n stones on the table in a row, each of them can be red, ...
George and Accommodation George has recently entered the BSUCP (Berland State Universit...
String Task Petya started to attend programming lessons. On the first lesson his task w...