自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 CodeForces - 822A(第三期白银组比赛T3)

Time limit1000 msMemory limit262144 kBHolidays have finished. Thanks to the help of the hacker Leha, Noora managed to enter the university of her dreams which is located in a town Pavlopolis. It’s...

2018-12-27 21:45:03 161

原创 CodeForces - 439A(第三期白银组T1)

Time limit1000 msMemory limit262144 kBDevu is a renowned classical singer. He is invited to many big functions/festivals. Recently he was invited to “All World Classical Singing Festival”. Other t...

2018-12-27 20:31:16 138

原创 CodeForces - 492A(第三期白银组比赛T2)

Time limit1000 msMemory limit262144 kBVanya got n cubes. He decided to build a pyramid from them. Vanya wants to build the pyramid as follows: the top level of the pyramid must consist of 1 cube, ...

2018-12-27 20:23:17 145

原创 杨辉三角形(第三期白银组T2)

Time limit1000 msMemory limit32768 kB还记得中学时候学过的杨辉三角吗?具体的定义这里不再描述,你可以参考以下的图形:11 11 2 11 3 3 11 4 6 4 11 5 10 10 5 1Input输入数据包含多个测试实例,每个测试实例的输入只包含一个正整数n(1<=n<=30),表示将要输出的杨辉三角的层数。Outpu...

2018-12-21 13:34:30 126

原创 cAPS lOCK(第二期 白银组T2)

wHAT DO WE NEED cAPS LOCK FOR?Caps lock is a computer keyboard key. Pressing it sets an input mode in which typed letters are capital by default. If it is pressed by accident, it leads to accidents l...

2018-12-14 20:21:42 209

原创 Nearly Lucky Number

Time limit2000 msMemory limit262144 kBPetya loves lucky numbers. We all know that lucky numbers are the positive integers whose decimal representations contain only the lucky digits 4 and 7. For e...

2018-12-14 19:36:05 148

原创 An easy problem(第二期 白银组T6)

Problem Descriptionwe define f(A) = 1, f(a) = -1, f(B) = 2, f(b) = -2, … f(Z) = 26, f(z) = -26;Give you a letter x and a number y , you should output the result of y+f(x).InputOn the first line, c...

2018-12-14 17:00:13 161

原创 ASCII码排序

ASCII码排序Time limit:1000 ms Memory limit:32768 kB输入三个字符后,按各字符的ASCII码从小到大的顺序输出这三个字符。Input输入数据有多组,每组占一行,有三个字符组成,之间无空格。Output对于每组输入数据,输出一行,字符中间用一个空格分开。SampleInputqweasdzxcOutpute q wa d s...

2018-12-08 09:08:02 373

原创 A + B Problem Too

A + B Problem TooTime limit:1000 ms Memory limit:32768 kBThis problem is also a A + B problem,but it has a little difference,you should determine does (a+b) could be divided with 86.For example ,i...

2018-12-08 08:04:57 80

原创 计算球体积

计算球体积Time limit:1000 ms Memory limit:32768 kB根据输入的半径值,计算球的体积。Input输入数据有多组,每组占一行,每行包括一个实数,表示球的半径。Output输出对应的球的体积,对于每组输入数据,输出一行,计算结果保留三位小数。SampleInput11.5Output4.18914.137Hint#define PI...

2018-12-08 07:51:35 311

原创 A + B Problem

Calculate A + BTime limit:1000 ms Memory limit:32768 kBInputEach line will contain two integers A and B. Process to end of file.OutputFor each case, output A + B in one line.SampleInput1 1O...

2018-12-08 07:36:11 111

原创 Stones on the Table

Stones on the TableTime limit:2000 ms Memory limit:262144 kBThere are n stones on the table in a row, each of them can be red, green or blue. Count the minimum number of stones to take from the ta...

2018-12-08 07:23:18 99

原创 George and Accommodation

George and AccommodationTime limit:1000 ms Memory limit:262144 kBGeorge has recently entered the BSUCP (Berland State University for Cool Programmers). George has a friend Alex who has also entered...

2018-12-07 21:39:01 88

原创 String Task

String TaskTime limit:2000 ms Memory limit :262144 kBPetya started to attend programming lessons. On the first lesson his task was to write a simple program. The program was supposed to do the foll...

2018-12-07 21:29:20 102

空空如也

空空如也

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

TA关注的人

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