类似Hdu3336 给出一个字符串,请算出它的每个前缀分别在字符串中出现了多少次。再将这些结果加起来输出InputThe first line include a number T, means the number of test cases. For each test case, just a ...
分类:
其他好文 时间:
2020-03-16 19:15:49
阅读次数:
66
点击Window,选择Preferences 点击General,选择Workspace,勾选Refresh using native hooks or polling和Refresh on access,点击Apply and Close,即可自动刷新workspace ...
分类:
系统相关 时间:
2020-03-15 13:38:55
阅读次数:
215
What is the difference between Shrink Database and File? Simply... DBCC ShrinkDatabase(): shrink all files DBCC ShrinkFile(): just one file For exampl ...
分类:
数据库 时间:
2020-03-12 18:24:26
阅读次数:
77
一,迭代器 1.1什么是可迭代对象? 字符串、列表、元组、字典、集合都可以被for循环,说明他们都是可迭代的。 我们怎么来证明这一点呢? from collections import Iterable l = [1,2,3,4] t = (1,2,3,4) d = {1:2,3:4} s = {1 ...
分类:
其他好文 时间:
2020-03-10 01:19:56
阅读次数:
70
JIT:Just In Time AOT:Ahead of Time 含义: 目前,程序主要有两种运行方式:静态编译与动态解释。 静态编译的程序在执行前全部被翻译为机器码,通常将这种类型称为AOT (Ahead of time compiler)即 “提前编译”;如C、C++。 判断标准是:程序执行 ...
分类:
其他好文 时间:
2020-03-04 23:13:30
阅读次数:
84
(1) sent one mail to IC inbox via outlook: (2) go to SWEL to check if there is one entry for the mail you just sent (3) go to tcode SWI1, you will fin ...
分类:
其他好文 时间:
2020-03-03 10:47:28
阅读次数:
64
"Link" 题意: 求最大区间和所在区间是不是 $1 \sim n$ 思路: 设 $dp[i]$ 是以 $i$ 为右端的最大区间和 $dp[i]=max(dp[i 1]+a[i],a[i])$ 代码: ...
分类:
其他好文 时间:
2020-03-02 22:50:18
阅读次数:
84
form组件 利用Form自动生成HTML标签 利用form保留原来的数据 利用form校验用户提交的数据 简单效验用户数据 下面的代码实列 正则校验器RegexValidator验证器 下面是代码实列 自定义验证规则 代码实列 Hook钩子方法 局部钩子 代码实列 全局钩子 代码实列 利用from ...
分类:
其他好文 时间:
2020-03-02 20:26:50
阅读次数:
68
重温Objective-C的消息机制消息转发机制:首先在该类的缓存方法列表cache_method_list中查找,是否存在相关方法上一步中若没有命中,则从方法列表 objc_method_list中查找上一步中若没有命中,则从父类super的方法列表 objc_method_list中查找,直至根... ...
分类:
其他好文 时间:
2020-03-01 14:22:37
阅读次数:
111
个人总结 1. Enterprise10.7新特性 1. 新增共享实例,可以将不常用服务分配共享实例,减少服务器压力。仅支持 发布的地图服务,且仅开启 feature access,kml,wms,wfs 等基础功能,不带SOE/SOI。 2. 脚本批量发布服务。 3. Server端日志增加Req ...
分类:
其他好文 时间:
2020-02-28 11:58:49
阅读次数:
90