- 博客(7)
- 收藏
- 关注
原创 OpenJudege-2811 熄灯问题 解题报告
OpenJudge - 2811问题描述熄灯问题 有一个由按钮组成的矩阵,其中每行有6个按钮,共5行。每个按钮的位置上有一盏灯。当按下一个按钮后,该按钮以及周围位置(上边、下边、左边、右边)的灯都会改变一次。即,如果灯原来是点亮的,就会被熄灭;如果灯原来是熄灭的,则会被点亮。在矩阵角上的按钮改变3盏灯的状态;在矩阵边上的按钮改变4盏灯的状态;其他的按钮改变5盏灯的状态。 在上...
2018-09-09 20:24:51
4697
2
原创 HDU-1702 ACboy needs your help again! 解题报告
HDU - 1702题目描述ACboy needs your help again! ACboy was kidnapped!! he miss his mother very much and is very scare now.You can’t image how dark the room he was put into is, so poor :(. As ...
2018-09-09 19:20:25
582
原创 POJ-1050 To the Max 解题报告
POJ - 1050题目描述To the Max Given a two-dimensional array of positive and negative integers, a sub-rectangle is any contiguous sub-array of size 1*1 or greater located within the whole array. The...
2018-09-09 18:11:25
1904
1
原创 HDU-1237 简单计算器 解题报告
HDU - 1237题目描述简单计算器 读入一个只包含 +, -, *, / 的非负整数计算表达式,计算该表达式的值。Input 测试输入包含若干测试用例,每个测试用例占一行,每行不超过200个字符,整数和运算符之间用一个空格分隔。没有非法表达式。当一行中只有0时输入结束,相应的结果不要输出。Output 对每个测试用例输出1行,即该表达式的值,精确...
2018-09-07 14:49:55
844
原创 POJ-3190 Stall Reservations 解题报告
POJ - 3190题目描述Stall Reservations Oh those picky N (1 <= N <= 50,000) cows! They are so picky that each one will only be milked over some precise time interval A..B (1 <= A <= B &...
2018-09-06 20:28:02
330
原创 POJ-1080 Human Gene Functions 解题报告
POJ - 1080题目描述Human Gene Functions It is well known that a human gene can be considered as a sequence, consisting of four nucleotides, which are simply denoted by four letters, A, C, G, an...
2018-08-14 17:49:11
347
原创 HDU-2577 How To Type 解题报告
HDU - 2577题目描述:How To Type Pirates have finished developing the typing software. He called Cathy to test his typing software. She is good at thinking. After testing for several days, she f...
2018-08-14 16:38:18
441
1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅