Problem Description
N (2 <= N <= 8,000) cows have unique brands in the range 1..N. In a spectacular display of poor judgment, they visited the neighborhood 'watering hole' and drank a few too many be...
分类:
其他好文 时间:
2015-08-09 15:39:04
阅读次数:
113
1069. The Black Hole of Numbers (20)
时间限制
100 ms
内存限制
65536 kB
代码长度限制
16000 B
判题程序
Standard
作者
CHEN, Yue
For any 4-digit integer except t...
分类:
其他好文 时间:
2015-08-06 15:06:24
阅读次数:
174
A Round Peg in a Ground Hole
Time Limit: 1000MS
Memory Limit: 10000K
Total Submissions: 5603
Accepted: 1788
Description
The DIY Furniture company specializes in ass...
分类:
其他好文 时间:
2015-08-06 02:03:43
阅读次数:
102
题目如下:
For any 4-digit integer except the ones with all the digits being the same, if we sort the digits in non-increasing order first, and then in non-decreasing order, a new number can be obta...
分类:
其他好文 时间:
2015-08-04 13:34:40
阅读次数:
134
贴图的描述方式有两种// 1、aaa.jpg// 2、file='aaa.jpg' res='' restype='0' dest='0,0,0,0' source='0,0,0,0' corner='0,0,0,0'// mask='#FF0000' fade='255' hole='false'...
分类:
其他好文 时间:
2015-06-09 13:34:44
阅读次数:
261
Description
N (2 <= N <= 8,000) cows have unique brands in the range 1..N. In a spectacular display of poor judgment, they visited the neighborhood 'watering hole' and drank a few too many beers be...
分类:
其他好文 时间:
2015-05-30 12:14:16
阅读次数:
182
1 import sys 2 3 4 def count_holes(letter): 5 hole_2 = ['A', 'D', 'O', 'P', 'Q', 'R'] 6 if letter == 'B': 7 return 2 8 elif let...
分类:
其他好文 时间:
2015-05-05 18:32:35
阅读次数:
125
black-hole.js是一款效果非常炫酷的模拟宇宙黑洞引力特效的js插件。该插件基于HTML5 canvas,使用WebGL、 glfx.js和 numeric.js 共同制作完成。其效果是在鼠标滑过图片时鼠标区域形成黑洞效果,使它周围的空间坍缩。
注意:由于HTML5的安全限制,插件中的图片必须是同源的图片。在本地浏览器这个插件时,Chrome浏览器会看不到效果,你可以使用Firefox浏...
分类:
Web程序 时间:
2015-04-15 13:31:10
阅读次数:
180
先上效果图: 主要的类: #include "Hole.h"#include #include "ccMacros.h"Hole::Hole(void){ this->image = NULL; this->animation = NULL; this->hit = NU...
分类:
其他好文 时间:
2015-04-11 16:07:12
阅读次数:
133