注意不满$4$位的话要补成$4$位。 string s; set<int> S; int main() { cin>>s; while(s.size()<4) s='0'+s; while(true) { sort(s.begin(),s.end(),greater<char>()); string ...
分类:
其他好文 时间:
2021-02-15 12:21:49
阅读次数:
0
pom.xml报错:Failed to read artifact descriptor for xxxxxx.jar问题的解决方法 ...
分类:
编程语言 时间:
2021-02-15 12:05:54
阅读次数:
0
一、流程控制 Python支持两种基本流程控制结构 分支结构: 根据条件选择不同的代码块执行 循环结构: 根据循环条件重复代码块 if语句用于分支结构 for-in, while用于循环结构 break, continue用于循环控制 二 、分支结构 1 if条件判断 格式 基本格式 if cond ...
分类:
编程语言 时间:
2021-02-15 11:55:35
阅读次数:
0
原题 1 class Solution: 2 def summaryRanges(self, nums: List[int]) -> List[str]: 3 left,right,lens,ans = 0,0,len(nums),[] 4 while left < lens: 5 right = ...
分类:
其他好文 时间:
2021-02-15 11:47:09
阅读次数:
0
i = 1while i <= 9: i += 1 j = 1 while j <= i-1: print("{}*{}=".format(j,i-1),j*(i-1),sep='',end=' ') j += 1 print('') for i in range(1,10): for y in r ...
分类:
编程语言 时间:
2021-02-10 13:39:52
阅读次数:
0
前言 用过pytest的小伙伴都知道,pytest的运行方式是非常丰富的,可以说是你想怎么运行怎么运行,想运行哪些运行哪些,那httprunner是否同样可以呢? 运行用例的各种方式 运行指定路径的用例 格式:hrun + case路径 (httprunner_env) ? hrun hrun hr ...
分类:
Web程序 时间:
2021-02-10 13:06:06
阅读次数:
0
This time, you are supposed to find $A+B$ where $A$ and $B$ are two polynomials. Input Specification: Each input file contains one test case. Each cas ...
分类:
其他好文 时间:
2021-02-10 13:03:20
阅读次数:
0
An error occurred while installing rjb (1.6.4), and Bundler cannot continue. Make sure that `gem install rjb -v '1.6.4' --source 'https://gems.ruby-ch ...
分类:
其他好文 时间:
2021-02-10 13:00:46
阅读次数:
0
package main import ( "bufio" "fmt" "io" "log" "os" "os/exec" // "strings" ) func checkExe2(exeAdress string) { cmd := exec.Command("cmd.exe", "/c", " ...
分类:
其他好文 时间:
2021-02-09 12:32:53
阅读次数:
0
read_only 表示是否允许普通用户写入。如果为on,表示禁止普通用户写入。 super_read_only 表示是否禁止超级用户写入,包括普通用户,即针对所有用户。 默认关闭。 如果打开 super_read_only,则read_only会自动打开。 如果关闭 read_only,则 sup ...
分类:
数据库 时间:
2021-02-09 12:29:10
阅读次数:
0