以下两种初始化Dictionary的方法有什么不同? var obj = new Dictionary<string, string>() { { "FirstName" , "Eric"} }; var obj1 = new Dictionary<string, string> { ["First ...
adapted from poj 2482 Fleeting time does not blur the memory of you. Has it really been three years since i first saw you? I still remember, vividly, ...
分类:
其他好文 时间:
2020-06-03 17:25:52
阅读次数:
89
一个worksheet里面的多个sheet中的数据都是一样的格式,就是说都有head line, 字段数也是一样的,只是数据和行数不一样. 百度找了很多VBA代码都不能正常合并. 找了老半天终于找到了个可以用的: Sub hb() Dim bt, i, r, c, n, first As Long ...
分类:
其他好文 时间:
2020-06-03 15:21:51
阅读次数:
212
1065 A+B and C (64bit) (20分) Given three integers A, B and C in [?], you are supposed to tell whether A+B>C. Input Specification: The first line of th ...
分类:
其他好文 时间:
2020-06-03 13:53:54
阅读次数:
74
function getData(selector) { return $(selector || 'table').map((x, y) => group(Array.from($(y).find('td')), $(y).find('tr:has(td):first td').length, c ...
分类:
Web程序 时间:
2020-06-03 13:33:13
阅读次数:
73
computed也就是计算属性,它可以帮助我们将在模板中的一些稍微复杂的逻辑计算放回到js代码中,方便理解与修改维护 官网中给出的例子:这里展示的数据是经过message和number两个属性经过变换合成的 <div id="example"> {{ message.split('').revers ...
分类:
其他好文 时间:
2020-06-03 13:32:14
阅读次数:
77
1057 Stack (30分) Stack is one of the most fundamental data structures, which is based on the principle of Last In First Out (LIFO). The basic operatio ...
分类:
其他好文 时间:
2020-06-03 00:45:45
阅读次数:
80
lsof list open files Linux一切皆文件,通过文件不仅可以访问常规数据,还可以访问网络连接(套接字)和硬件,该文件描述符为应用程序与os之间提供了接口.lsof需访问各种特权文件,故需root运行 COMMAND contains the first nine characte ...
分类:
系统相关 时间:
2020-06-02 22:52:28
阅读次数:
100
git全局设置 git config --global user.name ‘非池中物’ git cinfig --global user.email '103058 @qq.com' 创建git仓库 在码云创建仓库 在本地创建文件夹 右键打开Git Bush Here 初始化仓库 git init ...
分类:
其他好文 时间:
2020-06-02 18:50:03
阅读次数:
81