相关的方法如下图所示: string.len(s) 返回字符串s的长度 string.rep(s,n) 返回字符串s重复n次的结果 string.reverse(s) 字符串反转 string.reverse("abcd") >dcba string.lower(s) 将大写字母转换为小写字母 可用 ...
分类:
其他好文 时间:
2018-08-05 16:47:40
阅读次数:
168
原文: http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.87.3870&rep=rep1&type=pdf Abstract 动态内存分配器(malloc/free)在多线程环境下依靠互斥锁来保护共享数据的一致性。使用锁在性能,可用性 ...
分类:
其他好文 时间:
2018-08-01 01:05:21
阅读次数:
197
#include #include #include #include #include #include #include #include #include using namespace std; #define rep(i,a,n) for (int i=a;i=a;i--) #define... ...
分类:
其他好文 时间:
2018-07-31 21:40:38
阅读次数:
259
POJ3335 半平面交裸题 c++ //poj3335 include include include define rep(i,a,b) for(int i=a;i 0) hp[m 1] = hp[i]; } n = m; } bool halfplaneinsert() { for(int i ...
分类:
其他好文 时间:
2018-07-31 01:28:05
阅读次数:
210
在网上搜索一堆文章没找到解决方法,只找到了tomcat7-maven-plugin的plugin,如下: 并没有找到tomcat8-maven-plugin的plugin,在Maven的中央仓库中根本就没有这个插件: https://repository.apache.org/content/rep ...
分类:
其他好文 时间:
2018-07-25 16:21:00
阅读次数:
1572
412-Same binary weight 内存限制:64MB 时间限制:0ms 特判: No 通过数:2 提交数:3 难度:3 题目描述: The binary weight of a positive integer is the number of 1's in its binary rep ...
分类:
其他好文 时间:
2018-07-21 14:52:21
阅读次数:
129
setwd("C:/Rworkfile") install.packages("readxl") library(readxl) www<-read_excel("www.xls") www table(www[,5]) a1=names(table(www$县编码)) a2=rep("XXXXXX... ...
分类:
其他好文 时间:
2018-07-19 21:15:08
阅读次数:
606
link 题意&题解 code: 1 #include<bits/stdc++.h> 2 #define rep(i,x,y) for (int i=(x);i<=(y);i++) 3 #define ll long long 4 #define inf 1000000001 5 #define y ...
分类:
其他好文 时间:
2018-07-16 23:43:22
阅读次数:
172
select * from tbs_rep_template as of timestamp to_timestamp('2018-07-12 14:23:00', 'yyyy-mm-dd hh24:mi:ss') where tplname like '%工业管道定期检验报告%'; --其中201... ...
分类:
数据库 时间:
2018-07-12 19:52:00
阅读次数:
297
#include<cstdio> #include<algorithm> #include<cmath> #include<cstdlib> #include<ctime> #define re register #define rep(i,s,t) for(re int i=s;i<=t;++i) ...
分类:
其他好文 时间:
2018-07-11 19:55:32
阅读次数:
208