玄不救非,氪不改命
玄不救非,氪不改命
全部文章
分类
HDU(22)
POJ(90)
PTA(60)
UVa(2)
未归档(111)
百练(1)
题解(8)
归档
标签
去牛客网
登录
/
注册
玄不救非,氪不改命的博客
全部文章
(共294篇)
PTA 乙级 1027 打印沙漏 (20 point(s))
1027 打印沙漏 (20 point(s)) 本题要求你写个程序把给定的符号打印成沙漏的形状。例如给定17个“*”,要求按下列格式打印 ***** *** * *** ***** 所谓“沙漏形状”,是指每行输出奇数个符号;各行符号中心对齐;相邻两行符号数差2;符号数先从大到小顺序递...
2019-07-06
0
467
HDU 2717 Catch That Cow
Catch That Cow Time Limit: 5000/2000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Problem Description Farmer John has been informed o...
2019-07-06
0
390
POJ 3278 Catch That Cow
Catch That Cow Time Limit: 2000MS Memory Limit: 65536K Description Farmer John has been informed of the location of a fugitive cow and wants to cat...
2019-07-06
0
766
POJ 3250 Bad Hair Day
Bad Hair Day Time Limit: 2000MS Memory Limit: 65536K Description Some of Farmer John’s N cows (1 ≤ N ≤ 80,000) are having a bad hair day! Since eac...
2019-07-06
0
461
PTA 乙级 1021 个位数统计 (15 point(s))
1021 个位数统计 (15 point(s)) 给定一个 k 位整数 N=dk−110k−1+⋯+d1101+d0(0≤di≤9, i=0,⋯,k−1, dk−1>0),请编写程序统计每种不同的个位数字出现的次数。例如:给定 N=100311,则有 2 个 0,3 个 1,和 1 个...
2019-07-05
0
591
PTA 乙级 1020 月饼 (25 point(s))
1020 月饼 (25 point(s)) 月饼是中国人在中秋佳节时吃的一种传统食品,不同地区有许多不同风味的月饼。现给定所有种类月饼的库存量、总售价、以及市场的最大需求量,请你计算可以获得的最大收益是多少。 注意:销售时允许取出一部分库存。样例给出的情形是这样的:假如我们有 3 种月饼,其库存...
2019-07-05
0
611
POJ 1703 Find them, Catch them
Find them, Catch them Time Limit: 1000MS Memory Limit: 10000K Description The police office in Tadu City decides to say ends to the chaos, as launc...
2019-07-04
0
427
POJ 3735 Training little cats
Training little cats Time Limit: 2000MS Memory Limit: 65536K Description Facer’s pet cat just gave birth to a brood of little cats. Having consider...
2019-07-04
0
489
POJ 3233 Matrix Power Series
Matrix Power Series Time Limit: 3000MS Memory Limit: 131072K Description Given a n × n matrix A and a positive integer k, find the sum S = A + A2 +...
2019-07-02
0
382
PTA 天梯赛 L2-014 列车调度 (25 point(s))
L2-014 列车调度 (25 point(s)) 火车站的列车调度铁轨的结构如下图所示。 两端分别是一条入口(Entrance)轨道和一条出口(Exit)轨道,它们之间有N条平行的轨道。每趟列车从入口可以选择任意一条轨道进入,最后从出口离开。在图中有9趟列车,在入口处按照{8,4,2,5,3...
2019-07-01
0
481
首页
上一页
6
7
8
9
10
11
12
13
14
15
下一页
末页