题意:字符串匹配,看样例输入理解题意 直接循环 ...
分类:
其他好文 时间:
2018-11-15 01:34:58
阅读次数:
183
在C++中,我们可以在函数前加上inline字样从而使它在每个调用节点上“内联”地展开。 举个例子: 上述的 cout << Sum(1, 2) << endl; 在编译过程中会展开成 cout << 1+2 << endl; 从而避免了调用函数的一系列工作,优化了运行速度。 一般来说,内联机制用于 ...
分类:
编程语言 时间:
2018-11-15 01:34:14
阅读次数:
198
自己在搭建SSM框架的时候(Spring + spring mvc + mybatis)报错内容如下: No serializer found for class org.json.JSONObject and no properties discovered to create BeanSeria ...
分类:
Web程序 时间:
2018-11-15 00:12:25
阅读次数:
432
"bzoj1123" 题目描述:给定n个城市,m条边,每条边连接两个不同的城市,没有重复的路,所有的城市相连。 输入格式:输入n include define ll long long using namespace std; const int maxn = 500005; int n, m, d ...
分类:
其他好文 时间:
2018-11-14 22:43:40
阅读次数:
148
/* 1.对小程序wx.require的封装 */ class Ajax{ constructor(dev=true){ this.base = dev ? 'https://生产环境' : 'https://开发环境'; this.token = ""; this.sv = "1.0.0"; } ... ...
分类:
微信 时间:
2018-11-14 22:43:18
阅读次数:
273
Consider a tree T with N (1 <= N <= 20,000) nodes numbered 1...N. Deleting any node from the tree yields a forest: a collection of one or more trees. ...
分类:
其他好文 时间:
2018-11-14 21:03:04
阅读次数:
156
vuex -- 安装 npm i vuex -- 配置 -- 导入vuex import vuex from "vuex" -- vue使用vuex vue.use(vuex) -- 实例化仓库 new vuex.Store({ state: {}, getters: {}, mutations: ...
分类:
移动开发 时间:
2018-11-14 20:50:59
阅读次数:
173