Framework7 - is a free and open source framework to develop mobile, desktop or web apps with native look and feel. It is also an indispensable prototy ...
分类:
其他好文 时间:
2019-11-09 13:56:25
阅读次数:
102
一、new和delete C语言提供了malloc和free两个系统函数,完成对堆内存的申请和释放。而C++则提供了两个关键字new和delete; 1.1 规则 new/delete是关键字,效率高于malloc和free。 配对使用,避免内存泄漏和多重释放。 避免交叉使用,比如malloc申请空 ...
分类:
编程语言 时间:
2019-11-08 20:59:32
阅读次数:
99
由于公司要做整套电子商务解决方案,考虑到平台的通用性(其中b2b、b2c、o2o、小程序,都离不开基础平台),优先给公司规划: 平台管理端(统一管理,包含自营店铺)、商家管理端(可以入驻,多租户模式)、买家端(支持PC、h5/公众号、小程序、ios/android)三个通用平台。 有spring c ...
分类:
编程语言 时间:
2019-11-07 13:07:02
阅读次数:
105
参考博文:https://www.jianshu.com/p/ea0629b9e367 0x0 添加Kali源 deb http://http.kali.org/kali kali-rolling main non-free contrib deb-src http://http.kali.org/ ...
分类:
Web程序 时间:
2019-11-07 12:59:07
阅读次数:
112
1 #include<iostream> 2 #include<algorithm> 3 #include<map> 4 using namespace std; 5 6 map<int, int>cnt; 7 8 int main() 9 { 10 int T; 11 cin >> T; 12 w ...
分类:
其他好文 时间:
2019-11-07 12:53:58
阅读次数:
65
在进行MySQL的优化之前必须要了解的就是MySQL的查询过程,很多的查询优化工作实际上就是遵循一些原则让MySQL的优化器能够按照预想的合理方式运行而已。
分类:
数据库 时间:
2019-11-07 11:26:16
阅读次数:
72
A. Maximum Square 直接O(kn^2)枚举最大边长 #include<iostream> #include<cstdio> #include<cstring> using namespace std; int k,n,a[1005]; int main(){ cin>>k; whil ...
分类:
其他好文 时间:
2019-11-07 10:04:02
阅读次数:
97
A Maximum Square 题意:给 $n$ 块宽度为 $1$ 长度为 $a_i$ 的木板,把这些木板拼在一起,求最大形成的正方形的边长。 题解:贪心,从大到小排序,然后找第一个满足 $a_i using namespace std; typedef long long ll; int n, ...
分类:
其他好文 时间:
2019-11-07 09:47:09
阅读次数:
105
TypeScript接口的基本使用 TypeScript函数类型接口 TypeScript可索引类型接口 TypeScript类类型接口 TypeScript接口与继承 一、TypeScript接口的基本使用 1.1定义TypeScript接口的指令(interface) 接口让我们想到的第一个短语 ...
分类:
其他好文 时间:
2019-11-07 09:44:19
阅读次数:
93
Given an encoded string, return its decoded string. The encoding rule is: k[encoded_string], where the encoded_string inside the square brackets is be ...
分类:
其他好文 时间:
2019-11-05 13:57:41
阅读次数:
110