题目—01字符串 (shiyancang.cn) 1 #include<bits/stdc++.h> 2 using namespace std; 3 4 int main() 5 { 6 string a="0"; 7 int n; 8 cin>>n; 9 string ans=""; 10 if ...
分类:
其他好文 时间:
2021-06-06 19:01:00
阅读次数:
0
题目—吉祥物 (shiyancang.cn) 1 #include<bits/stdc++.h> 2 using namespace std; 3 int n,x; 4 int pos(int n) 5 { 6 int s=1,j=1; 7 while(s<n) 8 { 9 s+=j++; 10 } ...
分类:
其他好文 时间:
2021-06-06 18:58:39
阅读次数:
0
#1.前言 本地策略组对于优化和维护Windows系统来说十分重要(本人是在修改文件时候发现无管理员权限,获取管理员权限需要使用到本地策略组),但是win10家庭版里并没有组策略,win10家庭版如何添加组策略?现提供方案如下。 #2.工具准备 电脑:联想小新潮7000 系统版本:Windows 1 ...
两种办法: https://blog.csdn.net/m15814478834/article/details/49902077 https://www.cnblogs.com/iriczhao/p/11710693.html QT 使用QDomDocument::setContent()读XML ...
分类:
数据库 时间:
2021-06-05 18:17:30
阅读次数:
0
1.RotationAnimationRotationAnimation也是继承于PropertyAnimation组件,但是它有点特殊,它只需要指定taget目标对象,并且不需要指定property,因为rotation就是要绑定的属性.并且它还多了个direction属性: direction ...
分类:
其他好文 时间:
2021-06-05 17:53:34
阅读次数:
0
补题链接:Here 经典状压DP问题 坑点,注意多组输入。。。 const int N = 16, mod = 100000000; int f[N][1 << N]; int a[N]; void solve() { int n, m; while (cin >> n >> m) { memset ...
分类:
其他好文 时间:
2021-06-05 17:40:05
阅读次数:
0
还是老规矩,QScopedPointer概念性的东西我就不赘述了,网上百度一抓一大把。 这里主要用实际的例子来说明一下QScopedPointer这个智能指针中data()和take()的用法,这里面是有坑的。 我们先来说一下data()和take()分别表示的是什么意思? 首先你可以把QScope ...
分类:
其他好文 时间:
2021-06-04 19:48:15
阅读次数:
0
思路:把每一个k阶看成一个3*3的网格,计算出点到每层(0,0)的距离,递归求出下一阶n-1的距离。 #include"stdio.h" #include"math.h" #include"string.h" #include"iostream" #include"algorithm" using ...
分类:
其他好文 时间:
2021-06-04 19:40:06
阅读次数:
0
直接上代码 void Add(int a, double b, short c, const char * f) { std::cout << f << a << ", " << b << ", " << c << ";\n"; } void *p = nullptr; template <type ...
分类:
编程语言 时间:
2021-06-04 19:35:50
阅读次数:
0
Qt一键部署配置(Qt程序打包) 1、版本 系统版本:windows10 Qt版本:5.15.2 2、设置可执行程序输出路径 打开.pro文件,输入DESTDIR = $$PWD/../bin,这行代码意思是在编译后将可执行程序放在../bin路径中。 3、配置步骤 3.1 新建一个Qt工程(此处不 ...
分类:
其他好文 时间:
2021-06-03 17:41:47
阅读次数:
0