首页 > ACM题库 > HDU-杭电 > HDU 3176-Broken Pixel[解题报告]HOJ
2014
03-06

HDU 3176-Broken Pixel[解题报告]HOJ

Broken Pixel

问题描述 :

It is an interesting problem from this website: http://www.******.ru(Will be published after this contest!).

Here is a electron plate, the formula displayed in the plate was correct before one of the pixels being broken, and only one of the pixels was broken, so that the formula is wrong now. Your task is very easy, just output the original formula.
I will show you the format in the sample output.

Awesome DJMAX

Remember ,what you should do is : change a pixel’s state in the sample output and make the formula correct.Then , output the correct formula.

输入:

There is no input file for this problem.

输出:

There is no input file for this problem.

样例输入:

No input file.

样例输出:

...............................................................................................
..#.........................#...........#.........................#............................
.#...#####...#...........#...#.........#...#####...#...........#...#..............#####...#....
#........#...#.....#.....#....#.......#........#...#...........#....#.................#...#....
#.......#....#.....#.....#....#.......#.......#....#...........#....#....#####.......#....#....
#......#.....#...#####...#....#...#...#......#.....#...#####...#....#...............#.....#....
#.....#......#.....#.....#....#.......#.....#......#...........#....#....#####.....#......#....
#.....#......#.....#.....#....#.......#.....#......#...........#....#..............#......#....
.#....#......#...........#....#........#....#......#...........#....#..............#......#....
..#..........................#..........#..........................#...........................
...............................................................................................

/*
分析:
    本来不准备再贴水题了,不过这题实在是弄得我内牛满面、冲动不已
呀,真是太有爱了。。。
    题意是说:在simple output里面,有一个像素点坏了,改一个点,使
得式子成立。
    想找乐子的还是自己找吧,确实太有爱了囧~

                                                           2013-06-07
*/

#include"iostream"
#include"cstdio"
#include"cstring"
using namespace std;
int main()
{
	printf("...............................................................................................\n");
	printf("..#.........................#...........#.........................#............................\n");
	printf(".#...#####...#...........#...#.........#...#####...#...........#...#..............#####...#....\n");
	printf("#........#...#.....#.....#....#.......#........#...#...........#....#.................#...#....\n");
	printf("#.......#....#.....#.....#....#.......#.......#....#...........#....#....#####.......#....#....\n");
	printf("#......#.....#...#####...#....#...#...#......#.....#...#####...#....#...............#.....#....\n");
	printf("#.....#......#.....#.....#....#.......#.....#......#...........#....#....#####.....#......#....\n");
	printf("#.....#......#.....#.....#....#.......#.....#......#...........#....#..............#...........\n");
	printf(".#....#......#...........#....#........#....#......#...........#....#..............#......#....\n");
	printf("..#..........................#..........#..........................#...........................\n");
	printf("...............................................................................................\n");
	return 0;
}

参考:http://blog.csdn.net/ice_crazy/article/details/9046363


  1. 很高兴你会喜欢这个网站。目前还没有一个开发团队,网站是我一个人在维护,都是用的开源系统,也没有太多需要开发的部分,主要是内容整理。非常感谢你的关注。