Eva would like to make a string of beads with her favorite colors so she went to a small shop to buy some beads. There were many colorful strings of b ...
分类:
其他好文 时间:
2021-02-27 13:26:28
阅读次数:
0
目录: Python格式化字符串的4中方式 一:%号 二:str.format 三:f-Strings 四:标准库模板 五:总结四种方式的应用场景 Python格式化字符串的4种方式 一:%号 ? %号格式化字符串的方式从Python诞生之初就已经存在,时至今日,python官方也并未弃用%号,但也 ...
分类:
编程语言 时间:
2021-02-25 12:09:41
阅读次数:
0
从今天开始,记录本人在设计中留下的隐藏bug,时常翻阅,谨记于心。 1. 项目中有一些保护事件,其中一个保护事件的级别最高。当该事件发生时,系统状态机进入保护模式,直到事件消失,再回到其他状态。 然而,因为一些其他原因,在该最高级别的事件发生时,引起了power on 复位,致使内部所有trimmi ...
分类:
其他好文 时间:
2021-02-22 12:20:25
阅读次数:
0
Problem Description Bruce Force has had an interesting idea how to encode strings. The following is the description of how the encoding is done:Let x1 ...
分类:
其他好文 时间:
2021-02-19 13:18:41
阅读次数:
0
D Multiples and Power Differences (构造) 给一个n*m的矩阵a,a[i][j]在1到16之间。现在要构造矩阵b,需要满足如下条件: 1.b[i][j]在1到1e6之间 2.b[i][j]是a[i][j]的倍数 3.对于矩阵中任意相邻的两个数,要求存在正整数k,他们 ...
分类:
其他好文 时间:
2021-02-16 12:35:29
阅读次数:
0
Valid Anagram (E) 题目 Given two strings s and t , write a function to determine if t is an anagram of s. Example 1: Input: s = "anagram", t = "nagaram" ...
分类:
其他好文 时间:
2021-02-15 12:41:17
阅读次数:
0
最近新创建了一个sandbox, 想使用power automate中的approval做审批功能. 但是新环境下一直初始化失败. 并且有以下报错. 最后发现power automate中的审批是使用的environment中一个额外的叫MicrosoftFlowCDSIntegrationServ ...
分类:
移动开发 时间:
2021-02-15 11:58:28
阅读次数:
0
打开CMD的方式 开始+系统+命令提示符 Win+R +CMD打开控制台 任意文件夹 按住shift+右键,打开powershell窗口 文件地址栏前面加上cmd路径 常用的DOS命令 #盘符切换 #查看当前目录下的所有文件 dir #切换目录 cd /d (change directory) cd ...
分类:
其他好文 时间:
2021-02-10 13:06:21
阅读次数:
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
常用命令git branch # 查看分支列表git checkout -b newBranch # 新建newBranch 分支并切换到新分支git checkout master # 切换到master分支git branch -m newBranchName # 重命名当前分支为newBran ...
分类:
其他好文 时间:
2021-02-09 11:55:09
阅读次数:
0