1、JS 正则 test - 判断字符串是否符合规定的正则 rep = /\d+/; rep.test("asdfoiklfasdf89asdfasdf") # true rep = /^\d+$/; rep.test("asdfoiklfasdf89asdfasdf") # false exec ... ...
分类:
Web程序 时间:
2018-04-28 01:20:13
阅读次数:
194
题目 对于100%的数据,T include include include include include define LL long long int define Redge(u) for (int k = h[u],to; k; k = ed[k].nxt) define REP(i,n) ...
分类:
其他好文 时间:
2018-04-27 21:07:52
阅读次数:
137
1 #include 2 #include 3 #include 4 #define rep(i,l,r) for (int i=(l); ib.w*sz; } }; 12 priority_queueQ; 13 14 void add(int u,int v){ to[++cnt]=v; nxt[... ...
分类:
编程语言 时间:
2018-04-27 20:00:58
阅读次数:
233
1、JS 正则 test - 判断字符串是否符合规定的正则 rep = /\d+/; rep.test("asdfoiklfasdf89asdfasdf") # true rep = /^\d+$/; rep.test("asdfoiklfasdf89asdfasdf") # true exec - ...
分类:
编程语言 时间:
2018-04-27 13:53:18
阅读次数:
171
24天讲了内置函数: 1、__call__ ,如 class A: def __call__(self): print('a') 则 A()() 打印出a 2、__str__ 与 __repr__ 如: class B: def __str__(self): return 'b' def __rep ...
分类:
其他好文 时间:
2018-04-23 18:48:47
阅读次数:
161
javascript:function rep(id) { layer.confirm("确定要拒绝此认证吗?", { btn: ["确定", "取消"] }, function () { var url = document.getElementById("repulse-url").value;... ...
分类:
Web程序 时间:
2018-04-20 16:16:40
阅读次数:
406
//下载之前请先确保自己本地的php版本,因为不同的laravel对php有要求,接下来简单记录自己的安装步骤 1、下载composer : " https://getcomposer.org/Composer-Setup.exe"2、改成国内镜像配置: composer config -g rep ...
分类:
其他好文 时间:
2018-04-15 14:51:51
阅读次数:
835
Collections.unmodifiable ()与Rep Exposure JDK在collections接口中提供了一类静态函数:collections.unmodifiable\ (),其中\ 匹配Collections的子类。 如图: 简而言之:这类函数返回一个相应对象的不可更改的Cop ...
分类:
其他好文 时间:
2018-04-02 21:14:29
阅读次数:
169
```C++ include include include include include include include include include include include include define rep(i,j,k) for(register int i=j;i=k;i ) ...
分类:
其他好文 时间:
2018-03-31 20:35:10
阅读次数:
159
各种模板 lct cpp include using namespace std; define REP(i,st,ed) for(register int i=st,i end=ed;i=i end; i) typedef long long ll; inline int read(){ int ...
分类:
其他好文 时间:
2018-03-30 00:12:35
阅读次数:
144