- 博客(7)
- 资源 (4)
- 收藏
- 关注
原创 VSCode Python格式化定制
|E221|允许运算符前多个空格||E222|允许运算符后多个空格||E262|不在行注释的#后添加空格||E265|不在块注释的#后添加空格|| E402 |不将import集中到文件开头 || E501 |不对过长行做处理 |
2019-08-25 11:43:54 1371
原创 爬取新浪国内新闻及热评
爬取sina国内新闻及热评import requestsimport jsonimport reimport pandasfrom bs4 import BeautifulSoupfrom datetime import datetime# import sys# sys.stdout = open('1.out', 'w', encoding='utf-8')commentU...
2019-08-04 08:46:25 932
原创 区间交集
区间交集#include <bits/stdc++.h>using namespace std;int main() { int n, ans = 0; // ans存储最终结果 scanf("%d", &n); vector<pair<int, int>> v1(n), v2(n); //分别存储两个区间 for ...
2019-08-01 15:40:15 2220
原创 回文串问题
回文串问题回文串判定bool judge(string s) { string t(s.rbegin(), s.rend()); return s == t;}插入字符生成回文串#include <bits/stdc++.h>using namespace std;const int maxn = 1005;int n, m;int d[ma...
2019-08-01 15:29:17 2232
原创 DP字符串类型题汇总
DP字符串类型题汇总最长公共子串(LCS)//输出A和B最长公共子串的长度, 并打印结果#include <bits/stdc++.h>using namespace std;const int maxn = 1005;int d[maxn][maxn];char a[maxn], b[maxn];int la, lb;int main() {#ifdef LO...
2019-08-01 15:20:24 1880
原创 二分法
二分法切绳子#include <bits/stdc++.h>using namespace std;const double eps = 1e-6;int n, k;double a[10005];int main() {#ifdef LOCAL freopen("E:\\Cpp\\1.in", "r", stdin);#endif scanf...
2019-08-01 15:07:49 1581
原创 暴力法
暴力法给出n,0-9数字每个使用一次, 组成两个5位数, 使abcde/fghij=n#include <bits/stdc++.h>using namespace std;char ans[11] = "0123456789";char s[11];int main() {#ifdef LOCAL freopen("E:\\Cpp\\1.in", "r",...
2019-08-01 15:01:01 1624
tensorflow-2.0.0-cp37-cp37m-win_amd64.whl
2019-10-28
Blockchain.pdf
2019-07-30
torchvision-0.3.0-cp37-cp37m-win_amd64.whl
2019-07-30
tensorflow-1.14.0-cp37-cp37m-win_amd64.whl
2019-07-30
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人