一、copy to clipboard 官方定义: Simple module exposing copy function 理解: 一个超级简单的复制功能,并且这种方法适用于通过别的事件触发复制功能 什么意思呢?比如:我想设计一个在Select选择项改变的时候复制该选择项,这时候一般无法插入组件( ...
分类:
其他好文 时间:
2018-10-07 20:52:02
阅读次数:
305
(define zero (lambda(f) (lambda(x)x))) (define (add-1 n) (lambda(f)(lambda(x)(f((n f)x))))) ...
分类:
其他好文 时间:
2018-10-06 20:38:05
阅读次数:
194
Clipboard.js实现文本复制或者剪切到剪切板 引用js文件 使用一 使用二 使用三 ...
分类:
Web程序 时间:
2018-10-06 12:10:47
阅读次数:
220
题意与分析 稍微复杂一些的思维题。反正这场全是思维题,就一道暴力水题(B)。 代码 cpp include define MP make_pair define PB emplace_back define fi first define se second define ZERO(x) memse ...
分类:
其他好文 时间:
2018-10-03 22:29:58
阅读次数:
164
题意与分析 一道非常坑的水题。分析醒了补。 代码 cpp include define MP make_pair define PB emplace_back define fi first define se second define ZERO(x) memset((x), 0, sizeof( ...
分类:
其他好文 时间:
2018-10-03 22:26:47
阅读次数:
143
题意与分析 极简单的数论+思维题。 代码 cpp include define MP make_pair define PB emplace_back define fi first define se second define ZERO(x) memset((x), 0, sizeof(x)) ...
分类:
其他好文 时间:
2018-10-03 21:44:56
阅读次数:
243
题意与分析 图论基础+思维题。 代码 cpp include define MP make_pair define PB emplace_back define fi first define se second define ZERO(x) memset((x), 0, sizeof(x)) de ...
分类:
其他好文 时间:
2018-10-03 20:58:35
阅读次数:
122
This time, you are supposed to find A+B where A and B are two matrices, and then count the number of zero rows and columns. The input consists of seve ...
分类:
其他好文 时间:
2018-10-02 17:46:55
阅读次数:
190
You are given a sequence of integer numbers. Zero-complexity transposition of the sequence is the reverse of this sequence. Your task is to write a pr ...
分类:
其他好文 时间:
2018-10-02 17:43:54
阅读次数:
139
/dev/null和/dev/zero的区别 /dev/null,外号叫无底洞,你可以向它输出任何数据,它通吃,并且不会撑着! /dev/zero,是一个输入设备,你可你用它来初始化文件。该设备无穷尽地提供0,可以使用任何你需要的数目——设备提供的要多的多。他可以用于向设备或文件写入字符串0。 /d ...
分类:
其他好文 时间:
2018-10-01 00:10:18
阅读次数:
167