自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

ZCY的博客

https://blog.csdn.net/ZCY19990813

  • 博客(28)
  • 收藏
  • 关注

原创 Log Files

 Nikolay has decided to become the best programmer in the world! Now he regularly takes part in various programming contests, attentively listens to problems analysis and upsolves problems. But the ...

2018-04-30 12:34:20 297

原创 Mr. Frog’s Game

 One day, Mr. Frog is playing Link Game (Lian Lian Kan in Chinese). In this game, if you can draw at most three horizontal or vertical head-and-tail-connected lines over the empty grids(the lines c...

2018-04-30 10:43:31 443 1

原创 Comparison of Android versions

 As an Android developer, itˇs really not easy to figure out a newer version of two kernels, because Android is updated so frequently and has many branches. Fortunately, Google identifies individual...

2018-04-29 20:13:45 181

原创 Linearization of the kernel functions in SVM

 SVM(Support Vector Machine)is an important classification tool, which has a wide range of applications in cluster analysis, community division and so on. SVM The kernel functions used in SVM have m...

2018-04-29 19:00:34 214

原创 Game of Nuts

 The war for Westeros is still in process, manpower and supplies are coming to an end and the winter is as near as never before. The game of thrones is unpredictable so Daenerys and Stannis decided ...

2018-04-29 12:16:09 148 1

原创 Easy Summation

 You are encountered with a traditional problem concerning the sums of powers. Given two integers nn and kk. Let f(i)=ikf(i)=ik, please evaluate the sum f(1)+f(2)+...+f(n)f(1)+f(2)+...+f(n). The pr...

2018-04-28 17:27:45 199

原创 Automatic Judge

 Welcome to HDU to take part in the second CCPC girls’ competition! A new automatic judge system is used for this competition. During the five-hour contest time, you can submit your code to the sys...

2018-04-28 17:24:58 216

原创 Coprime Sequence

Do you know what is called ``Coprime Sequence''? That is a sequence consists of nnpositive integers, and the GCD (Greatest Common Divisor) of them is equal to 1. ``Coprime Sequence'' is easy to find ...

2018-04-28 17:21:34 213

原创 Ace of Aces(含map做法)

 There is a mysterious organization called Time-Space Administrative Bureau (TSAB) in the deep universe that we humans have not discovered yet. This year, the TSAB decided to elect an outstanding me...

2018-04-27 19:53:29 381

原创 May Day Holiday

 As a university advocating self-learning and work-rest balance, Marjar University has so many days of rest, including holidays and weekends. Each weekend, which consists of Saturday and Sunday, is ...

2018-04-25 18:30:35 685

原创 Owl Geeks

 The owls have the following equation:Y = a × x2 + b × xWith a, b, and N given, they decide to put into a set the integer values of Y that are less than or equal to N and that are outputted from...

2018-04-24 20:54:58 210

原创 Make Cents

Every year, an elephant qualifies to the Arab Collegiate Programming Competition. He graduated this year, but that’s irrelephant. What’s important is that the location of the competition might not hav...

2018-04-24 19:37:46 400

原创 Cheap Kangaroo

There are N kangaroos going out to eat at an Indian restaurant. The ith kangaroo wants to eat exactly xi food. The kangaroos all want to order the same size of plates, but each one can order more than...

2018-04-22 16:38:56 331

原创 Lazy Physics Cat

Physics cat likes to draw shapes and figure out their area. He starts by drawing a circle. Then inside the circle, he draws the triangle X, Y, Z - where Y is the center point of the circle, and X and ...

2018-04-22 15:54:15 209

原创 Magical Bamboos

in a magical forest, there exists N bamboos that don't quite get cut down the way you would expect.Originally, the height of the ith bamboo is equal to hi. In one move, you can push down a bamboo an...

2018-04-22 15:49:43 380

原创 Check the string

 A. Check the stringtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputA has a string consisting of some number of lowercase Engli...

2018-04-17 20:55:23 315 1

原创 最简单的

从键盘输入一个长整数(不超过10位),从高位开始逐位分割并输出。Input正整数n,不含前导零。Output分割的整数序列,各整数之间用空格格开。 注意,最后一个数字后面没有空格!Sample Input654321Sample Output6 5 4 3 2 1 这确实是一个简单题,但下面的代码不能过(10203040愿因未知)想复杂了#in...

2018-04-17 19:47:26 228

原创 第七届ACM程序设计竞赛 (SDIBT)

1.淘气的蜡笔小鑫 蜡笔小鑫真是又闲又淘气,他看到走廊上的灯都是灭的,就跑过去捣乱。每个灯泡都有自己的开关,用来控制灯的状态(开或者关)。如果灯灭了,按一下开关即开灯,再按一次即关灯。假设走廊里有n个灯泡,蜡笔小鑫就沿着走廊来回走n次。每次都是沿走廊走下去然后再回来,并且当他在走第i次时,都会按一下所有位置可被i整除的灯的开关(每次他都只在去的时候按下开关,回来的时候未进行任何操作),例如...

2018-04-15 20:23:59 1030 1

原创 Cutie Pie

<span style="color:#880000"></span> Consider a NxM small-letters grid. SVU asked you to check whether this grid is a Cutie Pie or not A grid is a cutie pie if you can find the word...

2018-04-15 15:25:08 486

原创 The Best Strategy

Carlo Ancelotti "Real Madrid's coach" is so Sad and disappointed, and Florentino Perez fired him after getting knocked out from the UEFA Champions League against Juventus. Carlo is so good in algorith...

2018-04-15 12:46:30 372 1

原创 Rectangles

 You have n rectangles, each of which is described by three integers i, j and k. This indicates that the lower-left corner of the rectangle will be located at the point (i, 0) and the upper-right co...

2018-04-15 12:30:11 258

原创 Good Coins

 It was a beautiful day, the sun was shining, the sky was clear and king Omar was listening to the birds peacefully under his favorite apple tree. Suddenly, an apple fell down and hit his head, and ...

2018-04-15 12:15:46 483

原创 深搜模板

The GeoSurvComp geologic survey company is responsible for detecting underground oil deposits. GeoSurvComp works with one large rectangular region of land at a time, and creates a grid that divides...

2018-04-14 13:28:04 549

原创 求数的和 必须是个位数

 Sample Input24390Sample Output63这题很容易出错(可能超限,必须用数组)真是醉了,竟然交了这么多次这是错误的代码#include <stdio.h>#include <string.h>int main(){ char s[10000],t; int sum=0,i,h; ...

2018-04-13 20:23:16 197

原创 TC中,音乐,正弦曲线,满天星,成绩柱状图

必须在tc中运行1.#include <stdio.h>#include<dos.h>void mysound(unsigned int freq,int times){     int i;union{int n;char c[2];}count;char bits;count.n=1193180/freq;outportb(0x43,0xb6)...

2018-04-03 16:09:03 641 1

原创 1,2,3的交换

 排序是一种很频繁的计算任务。现在考虑最多只有三值的排序问题。一个实际的例子是,当我们给某项竞赛的优胜者按金银铜牌序的时候。 在这个任务中可能的值只有三种1,2和3。我们用交换的方法把他排成升序的。 写一个程序计算出,给定的一个1,2,3组成的数字序列,排成升序所需的最少交换次数。InputLine 1: N (1 <= N <= 1000) Lines 2-N+1: 每行...

2018-04-01 13:10:58 509 1

原创 Robot's Task(机器人破解计算机)

 DescriptionRobot Doc is located in the hall, with n computers stand in a line, numbered from left to right from 1 to n. Each computer contains exactly one piece of information, each of which Doc ...

2018-04-01 11:02:01 258

原创 Asphalting Roads(判断什么时候修马路)

DescriptionCity X consists of n vertical and n horizontal infinite roads, forming n × n intersections. Roads (both vertical and horizontal) are numbered from 1 to n, and the intersections are indica...

2018-04-01 10:04:50 194

空空如也

空空如也

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

TA关注的人

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