1.小写输出 _str_t Val("AFSDFSasdfsdf"); cout<< Val.toLowerCase().data()<<endl; 2.中文输出 _str_t Val("中国人"); cout<< Val.data()<<endl; ...
分类:
其他好文 时间:
2021-02-16 12:29:18
阅读次数:
0
题意: 给定长度为 \(n\) 的序列 \(x\)。 求 \(\sum^{n}_{i=1} \sum^{n}_{j=1} \sum^{n}_{k=1} (x_{i}\ \& \ x_{j})\times (x_{j}\ |\ x_{k})\text{}\) 想法: 首先进行化简: . \(\sum^ ...
分类:
其他好文 时间:
2021-02-16 12:13:36
阅读次数:
0
Spring Cloud Gateway:新一代API网关服务 摘要 Spring Cloud Gateway 为 SpringBoot 应用提供了API网关支持,具有强大的智能路由与过滤器功能 。 Gateway 简介 Gateway是在Spring生态系统之上构建的API网关服务,基于Sprin ...
分类:
编程语言 时间:
2021-02-16 12:07:18
阅读次数:
0
文章为自己安装arch时的记录,同时参考了其他大佬的安装教程,如有问题和意见,请私信我 0、安装准备 virtualbox以及arch镜像(镜像从各大镜像源网站下载即可),因为使用virtualbox进行安装,所以下面介绍虚拟机的基本配置 系统配置 存储镜像配置 网络配置 1、更新时钟 root@a ...
分类:
系统相关 时间:
2021-02-15 12:22:48
阅读次数:
0
公司的C++工程迁移到了Centos8上面。现进行警告消除。发现如下警告。觉得挺有意思的记录一下。 Centos版本: cat /etc/redhat-releaseCentOS Linux release 8.2.2004 (Core) Gcc版本: gcc --versiongcc (GCC) ...
分类:
数据库 时间:
2021-02-15 11:58:50
阅读次数:
0
The Meta-Object System | Qt Core 6.0.1 https://doc.qt.io/qt-6/metaobjects.html Signals & Slots | Qt Core 6.0.1 https://doc.qt.io/qt-6/signalsandslots. ...
分类:
Web程序 时间:
2021-02-15 11:54:10
阅读次数:
0
# 查询主表相关信息,并且显示最新的记录 SELECT type.number as '序号', type.date as '时间', type.name as '名称', main.content as '项目名称', main.manager as '负责人', unit.name as '单位 ...
分类:
数据库 时间:
2021-02-09 12:01:19
阅读次数:
0
这道题要求将数组中奇数放前面偶数放后面,不需要排序。 第一时间想到的是额外数组res存结果,遍历原数组奇数存在res前面,偶数存在res后面。 时间复杂度O(n),空间复杂度O(n),好处是没有修改原数组 class Solution { public int[] exchange(int[] nu ...
分类:
编程语言 时间:
2021-02-08 11:47:07
阅读次数:
0
#include <bits/stdc++.h> const int N=200005; int n,v,a[N],dl[N][20],dr[N][20],pre[1<<20],suf[1<<20],dp[N],W; int main(){ scanf("%d%d",&n,&v); for (int ...
分类:
其他好文 时间:
2021-02-08 11:41:40
阅读次数:
0
''' @Author: feizzhang Created on: 02.02.2021 ''' def split_img_to_anypieces(img_path, output_dir, ratio_w = 2, ratio_h = 2): ''' Args: img_path: the ...
分类:
编程语言 时间:
2021-02-06 11:51:02
阅读次数:
0