1.Excel VBA点击单元格时执行事件!Private Sub
Worksheet_SelectionChange(ByVal Target As Range)If Target.Column = 1 And
Target.Count = 1 ThenMsgBox "你选中了:" & Targe...
分类:
其他好文 时间:
2014-06-04 17:57:29
阅读次数:
248
Given a roman numeral, convert it to an
integer.Input is guaranteed to be within the range from 1 to
3999.找到规则即可罗马数字的表示:I~1 V~5 X~10 L~50 C~100 D~500 ...
分类:
其他好文 时间:
2014-06-03 12:09:16
阅读次数:
210
List Comprehension1.列表推导 [i for i in range(10) if
i%2 == 0] -> [0, 2, 4, 6, 8], i也可以是一个函数,该风格比C语言思想的代码风格效率高2.enumerate
取到了序列中的序列号好内容forindex,iteminenu...
分类:
编程语言 时间:
2014-06-03 09:08:01
阅读次数:
254
/*Linq JS*/ //range var aa = Enumerable.range(1,
10).toArray(); var kk = Enumerable.range(1, 10, 3).toArray(); //select kk =
Enumerabl...
分类:
Web程序 时间:
2014-06-03 08:13:47
阅读次数:
255
问题
输入:一个表示数字的字符串,需要考虑不同的输入形式。
输出:对应的整数
特殊输入形式:
1.输入开始几个字符为空格
2.考虑正负号
3.数字字符不属于[0,9]时,输出当前结果
4.字符串代表的数字大于INT_MAX或者小于INT_MIN时输出INT_MAX或者INT_MIN。
class Solution {
// out of range...
分类:
其他好文 时间:
2014-06-03 06:30:14
阅读次数:
314
以下通过Simple Serial Interface进行设置,非扫描官方datasheet的设置条码....
分类:
其他好文 时间:
2014-06-03 05:03:16
阅读次数:
219
Range是VBA的東西不屬excel而ActiveSheet.PageSetup.PrintArea這句是直接指向excel的printarea要求返回的是絕對值(如:$A$1)所以說{不能设置类PageSetup的PrintArea
属性},如果想用range來表達只要在後邊加上.address...
分类:
其他好文 时间:
2014-06-02 13:17:14
阅读次数:
356
选中多个单元格Range(“:[,……]”).Select例:Range(“A1:B2”).Select
‘选中“A1”、“A2”、“B1”、“B2”四个连续的单元格Range(“12:12”).Select ‘选中第12行Range(“B:B”).Select
‘选中第B列Range(“A1:A2...
分类:
其他好文 时间:
2014-06-02 12:42:01
阅读次数:
581
Description
T. Chur teaches various groups of students at university U. Every U-student has a unique Student Identification Number (SIN). A SIN s is an integer in the range 0 ≤ s ≤ MaxSIN with MaxS...
分类:
其他好文 时间:
2014-06-01 07:40:18
阅读次数:
248
Given an integer, convert it to a roman
numeral.Input is guaranteed to be within the range from 1 to 3999.相对应的一道题:Roman
to Interger :http://www.cnblog...
分类:
其他好文 时间:
2014-05-31 02:37:44
阅读次数:
221