1.当需求只是执行一个循环操作的时候,尽量使用循环而不是列表解析,这样更符合python提倡的直观性 for item in sequence:process(item)122.当有内建的操作或者类型能够以更直接的方式实现的,不要使用列表解析例如复制一个列表时,使用:L1=list(L)即可,不必使 ...
分类:
其他好文 时间:
2020-06-25 19:40:25
阅读次数:
64
agc031_d A Sequence of Permutations https://atcoder.jp/contests/agc031/tasks/agc031_d https://img.atcoder.jp/agc031/editorial.pdf Tutorial 对于排列 \(p,q\ ...
分类:
其他好文 时间:
2020-06-25 14:14:06
阅读次数:
52
介绍几款最近找的接口管理系统 ShowDoc 一个非常适合IT团队的在线API文档、技术文档工具 thinkphp+vue 官网 https://www.showdoc.cc/ 支持在线版 支持离线部署 支持docker 安装 这个很nice 免费 docway 简单好用的在线文档管理。 docwa ...
原题链接 KMP模板:AC,858ms,13112KB内存 消耗太大了 #include<bits/stdc++.h> using namespace std; using namespace std; #define ms(x, n) memset(x,n,sizeof(x)); typedef ...
分类:
其他好文 时间:
2020-06-23 20:53:37
阅读次数:
66
Given a set of distinct positive integers, find the largest subset such that every pair (Si, Sj) of elements in this subset satisfies: Si % Sj = 0 or ...
分类:
其他好文 时间:
2020-06-21 22:53:58
阅读次数:
60
题目:Folding 网址:https://onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&category=0&problem=4505&mosmsg=Submission+received+w ...
分类:
其他好文 时间:
2020-06-21 14:12:21
阅读次数:
55
The set [1,2,3,...,n] contains a total of n! unique permutations. By listing and labeling all of the permutations in order, we get the following seque ...
分类:
其他好文 时间:
2020-06-21 10:13:55
阅读次数:
48
part-of-speech (POS) POS其实就是对词进行一些分类,比如名词、动词、形容词、副词等。通过研究POS我们可以学习到更多词于词之间的关系,比如冠词一般在名词前,名词后面可能是动词,更进一步的,POS可以被应用到其他任务中,比如推测作者、信息抽取等等。由于很多语言在不同环境下存在多种 ...
分类:
其他好文 时间:
2020-06-20 00:51:58
阅读次数:
124
1、列操作 新增一列:alter table [tbl_name] add column [column_name] [type] 删除一列:alter table [tbl_name] drop [column_name]; 修改列名:alter table [tbl_name] rename [ ...
分类:
数据库 时间:
2020-06-18 21:59:42
阅读次数:
83
Answer: AE Explanation: REFERENCES 只能授权给表,错误,也可以给视图。 DELETE 可以被授权给表、视图、序列,错误,不可授权给序列。 INSERT 只能授权给表和序列,错误,不可授权给序列。 ORA-02205: only SELECT and ALTER pr ...
分类:
其他好文 时间:
2020-06-18 16:01:17
阅读次数:
49