Problem DescriptionAs a amateur artist, Xenocide loves painting the wall. The wall can be considered as a line consisting of n nodes. Each node has it...
分类:
其他好文 时间:
2015-03-09 09:21:15
阅读次数:
122
Problem Description
Eddy begins to like painting pictures recently ,he is sure of himself to become a painter.Every day Eddy draws pictures in his small room, and he usually puts out his newest pictures to let his friends appreciate. but the result it can ...
分类:
编程语言 时间:
2015-02-23 09:45:09
阅读次数:
333
Op tech briefing, 2002/11/02 06:42 CST ===
"The item is locked in a Klein safe behind a painting in the second-floor library. Klein safes are extremely rare; most of them, along with Klein and his factory, were destroyed in World War II. Fortunately old B...
分类:
其他好文 时间:
2015-02-12 16:12:49
阅读次数:
174
【说明】 好吧,坦白从宽,我是Qt扒手(不要鄙视我)。这是我根据qt官网提供的C++版本的例子(http://doc.qt.io/qt-5/qtwidgets-painting-basicdrawing-example.html),改编而成的Python版本。 由于本人没有C++基础,其难度之大,自...
分类:
其他好文 时间:
2015-02-09 07:03:43
阅读次数:
748
背景:这题我写出来发生了一个奇怪的现象,就是同样的代码,在vc6.0里面运行的好好的,但在codebloke里面却死活不对,最后费了我九牛二虎之力,我终于找到了,原来数组开小了,o(︶︿︶)o 唉。
思路:分别用两个数组模拟两个骰子,定义三个旋转函数,分别绕着xyz三个方向旋转,然后定义一个判断函数,在判断函数中用三个for循环,在循环中对骰子2进行旋转,旋转后与骰子1比较,看是否相同,判断是否...
分类:
其他好文 时间:
2015-02-05 18:20:23
阅读次数:
254
A Maximum in Table B Painting Pebbles C Sums of Digits D Restoring Numbers E Pretty Song F Progress Monitoring 总结 1. B题一开始有些马虎,没有读完题就开始做,结果理解错题意WA了一次(...
分类:
其他好文 时间:
2015-02-03 10:58:53
阅读次数:
118
Black and white painting题目描述You are visiting the Centre Pompidou which contains a lot of modern paintings. In particular you notice one painting which...
分类:
其他好文 时间:
2015-02-02 09:24:20
阅读次数:
114
Annoying painting tool题目描述Maybe you wonder what an annoying painting tool is? First of all, the painting tool we speak of supports only black and whit...
分类:
其他好文 时间:
2015-02-02 09:23:11
阅读次数:
163
题目链接:http://codeforces.com/problemset/problem/509/B题目意思:有 n 个piles,第 i 个 piles有 ai 个pebbles,用 k 种颜色去填充所有存在的pebbles,使得任意两个piles,用颜色c填充的pebbles数量之差 2 #....
分类:
其他好文 时间:
2015-02-01 14:41:48
阅读次数:
170
http://codeforces.com/problemset/problem/399/D题意:给出n和m,表示在一个n*n的平面上有n*n个方格,其中有m块已经涂色。现在随机选中一块进行涂色(如果已经涂色跳过,也消耗时间),消耗1个步骤。终止条件为每行每列都有至少有一块瓷砖被涂色。问说涂成满意的...
分类:
其他好文 时间:
2015-01-29 20:58:17
阅读次数:
182