import re # 要读取的svg文件 file = open(r"C:\Users\Administrator\Desktop\car.svg") # svg文件的data部分输出到此文件 paths = open("paths.txt", "w") while 1: line = file. ...
分类:
编程语言 时间:
2021-01-15 12:08:47
阅读次数:
0
Given n, how many structurally unique BST's (binary search trees) that store values 1 ... n? Example: Input: 3 Output: 5 Explanation: Given n = 3, the ...
分类:
其他好文 时间:
2021-01-12 11:12:21
阅读次数:
0
今天继续刷leetcode。 今天着重练习了一下回文串(Palindromic string)相关的题目,其中做到1457. Pseudo-Palindromic Paths in a Binary Tree这一道题的时候,自己方法没错,但跑了两次都是TLE,然后心态有点崩,就去看了一下别人的代码, ...
分类:
其他好文 时间:
2021-01-07 12:43:48
阅读次数:
0
DDL:操作数据库和表 drop alter create DML:增删改数据库表的记录 insert update delete DQL:查询表中的记录 select DCL:管理用户、授权 grant 查询 查询表中的所有的行和列的数据 selectfrom 表名; selectfrom stu ...
分类:
数据库 时间:
2021-01-07 12:01:12
阅读次数:
0
1.构造数据 为了操作方便, 先构造以下数据 1.1 学生表 create table `student` ( `id` int unsigned primary key auto_increment, `name` char(32) not null unique, `sex` enum('男', ...
分类:
数据库 时间:
2021-01-06 12:13:37
阅读次数:
0
static void TimerInterruptHandler(void * CallBackRef) { static int sec = 0; printf("%d Seconds\n", sec++); XScuTimer * TimerInstPtr = (XScuTimer *)Cal ...
分类:
其他好文 时间:
2021-01-06 11:51:20
阅读次数:
0
#include <deque> #include <thread> #include <mutex> #include <condition_variable> using namespace std; deque<int> queue; mutex mtx; condition_variable ...
分类:
其他好文 时间:
2020-12-31 12:12:20
阅读次数:
0
#TitleSolutionAcceptanceDifficultyFrequency 5 Longest Palindromic Substring 30.0% Medium -- 62 Unique Paths 55.4% Medium -- 63 Unique Paths II 35.0% M ...
分类:
其他好文 时间:
2020-12-31 12:06:06
阅读次数:
0
1、pycharm里找不到自定义的模块,如图,对于已存在的_init_paths.py和multitracker.py显示“unresolved reference xxx” 解决办法:将_init_paths.py和multitracker.py所在文件夹scr和lib设置为sources roo ...
分类:
其他好文 时间:
2020-12-31 12:01:19
阅读次数:
0
<el-menu class="left-menu" :default-active="$route.name" :unique-opened="true" :collapse="isCollapse"> <template v-for="(m, x) in menuOpts.data" > <el ...
分类:
其他好文 时间:
2020-12-28 10:57:57
阅读次数:
0