Easter79 Easter79
3年前
substring c# js java
cString.SubString(intindex,intlength)String.SubString(intstart)等效于javascriptstringObject.substr(start,length)stringObject.substr(start) java 
Stella981 Stella981
3年前
AtCoder Beginner Contest 132 F
数sqrt缩小范围整除分块1include<cstdio2include<cstdlib3include<cmath4include<cstring5include<string6include<algorithm
Stella981 Stella981
3年前
POJ 3179 离散化+二维前缀和+枚举(二分?)
离散化和前缀和以前做过,但是不熟,所以借鉴的lyd的代码(不过好像他也没用二分查找,虽然书上这么写的)不过代码中有一些剪枝和为下一步预处理的的操作可能优化了时间,反正62ms过了。。。附上代码:1include<cstdio2include<algorithm3include<cstring
Stella981 Stella981
3年前
C# string数组转int数组(转载)
Cstring数组转int数组(https://www.oschina.net/action/GoToLink?urlhttps%3A%2F%2Fwww.cnblogs.com%2Fxuqp%2Fp%2F9681142.html)