__I、 __O 、__IO是什么意思?这是ST库里面的宏定义,定义如下:#define __I volatile const /*!< defines 'read only' permissions */#define __O volatile /*!< defines 'write only' ...
分类:
其他好文 时间:
2017-04-22 15:46:01
阅读次数:
267
https://leetcode.com/problems/valid-perfect-square/#/description ...
分类:
其他好文 时间:
2017-04-21 16:52:42
阅读次数:
159
Thanks to a certain "green" resources company, there is a new profitable industry of oil skimming. There are large slicks of crude oil floating in the ...
分类:
其他好文 时间:
2017-04-21 10:04:45
阅读次数:
238
B. Ohana Cleans Up Ohana Matsumae is trying to clean a room, which is divided up into an n by n grid of squares. Each square is initially either clean ...
分类:
其他好文 时间:
2017-04-15 20:47:12
阅读次数:
139
最近人工智能做个小实验,组队选了个数独游戏,顺便研究了一下。解数独感觉主流思想也就是深搜回溯了吧,优化就是各种剪枝方法。 1 引言 数独起源于18世纪初瑞士数学家欧拉等人研究的拉丁方阵(Latin Square),曾风靡日本和英国。现有解法包括基础解法:摒除法,余数法,进阶解法:区块摒除法(Lock ...
分类:
编程语言 时间:
2017-04-15 00:12:52
阅读次数:
1674
HTML5 的Cavans API可以动态来展示图形、图表、图像以及动画,我们的这个离线系统中,主要用来设计Logo用的。在网页上使用Canvas的时,他会创建一块矩形区域,默认情况下宽为300像素,高为150像素,当然,可以自定义。 因为我们离线系统主要职责用于在离线的情况下的工作系统,如在上面写 ...
分类:
Web程序 时间:
2017-04-14 22:48:37
阅读次数:
300
Problem Description One day Sophia finds a very big square. There are n trees in the square. They are all so tall. Sophia is very interesting in them. ...
分类:
其他好文 时间:
2017-04-14 19:45:50
阅读次数:
176
(1)有序列表(ol)--<li>order list (2)无序列表(ul)--<li>unorder list (3)自定义列表<dl>--<dt>--<dd> 列表样式:list-style-type:circle(。);none;dis(.);square(方块) list-style-im ...
分类:
其他好文 时间:
2017-04-12 12:45:59
阅读次数:
164
1.square 数的判断 point: from math import sqrt is_integer()命令使用 % 求余符号的使用 return () 可以直接返回 T or F 2. two fighters and one winners point: ceil() 取上整数命令, 【考 ...
分类:
编程语言 时间:
2017-04-09 09:49:31
阅读次数:
268
(1)数学函数的使用 1、求绝对值 ABS()函数 SELECT ABS('2') 2、求平方根 SQRT()函数 SELECT SQRT('256') 3、求平方 SQUARE()函数 SELECT SQUARE('6') (2)字符串函数 1、返回字符串的第一个字符的ASCII码值函数 ASCI ...
分类:
数据库 时间:
2017-04-07 00:37:05
阅读次数:
232