Leetcode 1323 Mximum 69 Number (Math) 题目描述 例子 限制条件 解题思路 将num中最高位的6变成9 代码 Python代码 class Solution: def maximum69Number (self, num: int) : return int(st ...
分类:
其他好文 时间:
2020-01-30 22:47:09
阅读次数:
87
1. 核心 冒烟测试就是完成一个新版本的开发后,对该版本最基本的功能进行测试,保证基本的功能和流程能走通。 如果不通过,则打回开发那边重新开发; 如果通过测试,才会进行下一步的测试(功能测试,集成测试,系统测试等等)。 简化:门槛测试,一个开关而不是一个阶段。 目的:版本验证测试BVT(Build ...
分类:
其他好文 时间:
2020-01-30 21:15:45
阅读次数:
710
更改时区原文:https://www.cnblogs.com/st-jun/p/7737188.html 更改时间原文:https://www.cnblogs.com/suiyueshentou/p/7798340.html 一、手动修改 1. date命令:查看当前时间 2. date -s 时分 ...
分类:
系统相关 时间:
2020-01-30 12:53:51
阅读次数:
104
解压缩命令:命令格式:tar-zxvf压缩文件名.tar.gz。解压缩后的文件只能放在当前的目录。解压全部命令参考:tar–xvffile.tar解压tar包tar-xzvffile.tar.gz解压tar.gztar-xjvffile.tar.bz2解压tar.bz2tar–xZvffile.tar.Z解压tar.Zunrarefile.rar解压rarunzipfile.zip解压ziplin
分类:
系统相关 时间:
2020-01-29 19:39:23
阅读次数:
111
#include<iostream> #include<cstdio> #include<cstring> using namespace std; const int N=110; #define inf 1<<29 int map[N][N],n; int dist[N]; bool st[N] ...
分类:
Web程序 时间:
2020-01-29 16:08:44
阅读次数:
60
#include<iostream> #include<cstring> #include<queue> using namespace std; const int N=1e6; int h[N],e[N],ne[N],w[N]; int n,m; int idx; bool st[N]; int ...
分类:
其他好文 时间:
2020-01-29 12:27:30
阅读次数:
53
#include <iostream> using namespace std; template<typename T> class complex{ public:complex(T r=0,T i=0) :re(r),im(i) {} T real() const{return re;}//函 ...
分类:
其他好文 时间:
2020-01-29 12:10:49
阅读次数:
63
package main import ( "crypto" "crypto/rand" "crypto/rsa" "crypto/x509" "encoding/base64" "encoding/pem" "errors" "fmt" "io/ioutil" ) func main() { st ...
分类:
编程语言 时间:
2020-01-28 23:33:30
阅读次数:
135
一、线性规划问题的求最大最小值问题 # max: z = 4x1 + 3x2 # st: -2x1 - 3x2<=-10 # x1 + x2 <=8 # x2 <= 7 # x1,x2 > 0 from scipy.optimize import linprog c = [4,3] #默认linpr ...
分类:
编程语言 时间:
2020-01-28 19:36:55
阅读次数:
211
A题 签到题 B题 只需要贪心的调换成只能经过一次调换的最小字符串,再与目标串比较 #include<iostream> #include<cstdio> #include<cmath> #include<cstring> #include<algorithm> using namespace st ...
分类:
其他好文 时间:
2020-01-28 12:30:35
阅读次数:
54