自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(9)
  • 收藏
  • 关注

原创 codeforces Inna and Huge Candy Matrix

DescriptionInna and Dima decided to surprise Sereja. They brought a really huge candy matrix, it’s big even for Sereja! Let’s number the rows of the giant matrix from 1 to n from top to bottom and the

2015-10-30 21:04:07 316

原创 codeforces Inna and New Matrix of Candies

DescriptionInna likes sweets and a game called the “Candy Matrix”. Today, she came up with the new game “Candy Matrix 2: Reload”.The field for the new game is a rectangle table of size n × m. Each line

2015-10-30 20:58:02 349

原创 codeforces Inna and Choose Options

DescriptionThere always is something to choose from! And now, instead of “Noughts and Crosses”, Inna choose a very unusual upgrade of this game. The rules of the game are given below:There is one perso

2015-10-30 20:54:40 454

原创 hdu 5050 Divided Land java

It’s time to fight the local despots and redistribute the land. There is a rectangular piece of land granted from the government, whose length and width are both in binary form. As the mayor, you must

2015-10-10 11:24:40 352

原创 hdu 2002 计算球体积 java/c

Problem Description 根据输入的半径值,计算球的体积。 Input 输入数据有多组,每组占一行,每行包括一个实数,表示球的半径。 Output 输出对应的球的体积,对于每组输入数据,输出一行,计算结果保留三位小数。 Sample Input 1 1.5 Sample Output 4.189 14.137 java 代码:import java.util.*;pub

2015-10-07 13:50:24 1546

原创 hdu 2001 java/c++ 计算两点间的距离

Problem Description 输入两点坐标(X1,Y1),(X2,Y2),计算并输出两点间的距离。 Input 输入数据有多组,每组占一行,由4个实数组成,分别表示x1,y1,x2,y2,数据之间用空格隔开。 Output 对于每组输入数据,输出一行,结果保留两位小数。 Sample Input 0 0 0 1 0 1 1 0 Sample Output 1.00 1.41

2015-10-07 13:38:58 701

原创 hdu 1001 Java大数简单方法

Sum ProblemProblem DescriptionHey, welcome to HDOJ(Hangzhou Dianzi University Online Judge).In this problem, your task is to calculate SUM(n) = 1 + 2 + 3 + … + n.InputThe input will consist of a series

2015-10-06 23:41:14 1321

原创 Building for UN

The United Nations has decided to build a new headquarters in Saint Petersburg, Russia. It will have a form of a rectangular parallelepiped and will consist of several rectangular floors, one on top of

2015-10-05 11:41:47 405

原创 Cinderella

Cinderella is given a task by her Stepmother before she is allowed to go to the Ball. There are N (1 ≤ N ≤ 1000) bottles with water in the kitchen. Each bottle contains Li (0 ≤ Li ≤ 106) ounces of wate

2015-10-04 16:07:27 275

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除