T1 div 给定$m$个不同的正整数$a_1$,$a_2$,$\cdots$请对$1$到$n$每一个$k$计算,在区间$[1,n]$里有多少正整数是$[a_1,a_m]$中恰好$k$个数的约数。 暴力拆解就可以了。 ...
分类:
其他好文 时间:
2019-11-08 12:11:18
阅读次数:
81
//查看kubernetes-dashboard create -f xxx.yaml 拉取失败的原因:ErrImagePull、ImagePullBackOff kubectl describe pod kubernetes-dashboard-669f9bbd46-dph47kubectl ge ...
分类:
其他好文 时间:
2019-11-07 13:17:06
阅读次数:
98
* sometimes it's just... * i wake up, and i think: What do i have to do,to become great? * what must i do different? * than what i'm doing,and what i' ...
分类:
其他好文 时间:
2019-11-07 12:57:03
阅读次数:
92
1. 静态成员最先构造,按照静态成员初始化顺序,不是类里面的声明顺序 2. 父类构造 3. 非静态成员构造,按照类成员声明顺序,不是逗号初始化成员顺序 4. 自身构造函数 Demo: class TestA { public: TestA(){ std::cout << "TestA()" << s ...
分类:
编程语言 时间:
2019-11-06 22:58:15
阅读次数:
108
如何提高效率问题,往往同样的功能,不一样的代码,出来的效率往往大不一样。 ● 用单引号代替双引号来包含字符串,这样做会更快一些。因为PHP会在双引号包围的字符串中搜寻变量,单引号则不会,注意:只有echo能这么做,它 是一种可以把多个字符串当作参数的“函数”(译注:PHP手册中说echo是语言结构, ...
分类:
Web程序 时间:
2019-11-06 22:55:40
阅读次数:
120
code: #include <bits/stdc++.h> #define N 1005 using namespace std; void setIO(string s) { string in=s+".in"; string out=s+".out"; freopen(in.c_str()," ...
分类:
其他好文 时间:
2019-11-06 19:55:58
阅读次数:
97
<!-- 循环数据表单验证 --> <div v-for="(item,index) in ruleForm.circulation" :key="index" style="width:933px"> <el-form-item label="姓名" :prop="`circulation.`+i ...
分类:
其他好文 时间:
2019-11-06 18:20:59
阅读次数:
79
#include <memory> //c++11 std::shared_ptr<int> p3(new int); *p3 = 10; cout << "p3:" << *p3 << endl; ...
分类:
编程语言 时间:
2019-11-06 16:36:25
阅读次数:
83
There are nn students at your university. The programming skill of the ii-th student is aiai. As a coach, you want to divide them into teams to prepar ...
分类:
其他好文 时间:
2019-11-06 12:54:44
阅读次数:
85
实现结果如下 需要修改的地方有四个地方, 实现思想, 实现代码 xml <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xm ...
分类:
移动开发 时间:
2019-11-05 21:36:17
阅读次数:
109