摘要: from tkinter import * import time #更新进度条函数 def change_schedule(now_schedule,all_schedule): canvas.coords(fill_rec, (5, 5, 6 + (now_schedule/all_schedule)*100, 25)) root.update() x.set(s... 阅读全文
posted @ 2018-08-02 11:52 摇啊摇啊 阅读(4958) 评论(0) 推荐(0) 编辑
摘要: 转自 https://blog.csdn.net/jijijix/article/details/52319601 阅读全文
posted @ 2018-04-27 13:24 摇啊摇啊 阅读(157) 评论(0) 推荐(0) 编辑
摘要: 如果输入数据重复,可以加入vis记录字典树的单词结点是否被经历过,防止同一个data统计出现次数时重复count 阅读全文
posted @ 2018-04-27 11:11 摇啊摇啊 阅读(160) 评论(0) 推荐(0) 编辑
摘要: 从头到尾彻底理解KMP 模板 阅读全文
posted @ 2018-04-27 10:53 摇啊摇啊 阅读(132) 评论(0) 推荐(0) 编辑
摘要: #include #include #include using namespace std; //*********************************************************************************************** const int maxnode = 4000 * 100 + 10; c... 阅读全文
posted @ 2018-04-26 12:11 摇啊摇啊 阅读(96) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/gaochundong/p/suffix_tree.html Thanks this author 阅读全文
posted @ 2018-04-20 20:19 摇啊摇啊 阅读(74) 评论(0) 推荐(0) 编辑
摘要: 1 // 2 // main.cpp 3 // demo 4 // 5 // Created by Yanbin GONG on 14/4/2018. 6 // Copyright © 2018 Yanbin GONG. All rights reserved. 7 // 8 9 //向量的基本运算 阅读全文
posted @ 2018-04-17 01:08 摇啊摇啊 阅读(384) 评论(0) 推荐(0) 编辑
摘要: 1 #include <algorithm> 2 #include <iostream> 3 #include <cstring> 4 #include <cstdio> 5 #include <cmath> 6 using namespace std; 7 #define N 50005 8 9 阅读全文
posted @ 2018-04-17 01:06 摇啊摇啊 阅读(158) 评论(0) 推荐(0) 编辑
摘要: 转载自: 计算几何模板(仿照刘汝佳大白书风格) 想想自己一个学期连紫皮都没看完就想自杀 阅读全文
posted @ 2018-04-13 14:43 摇啊摇啊 阅读(336) 评论(0) 推荐(0) 编辑
摘要: string BigNumMultipy( string str1, string str2 ) { int len1 = str1.length(); int len2 = str2.length(); vector res( len1 + len2, 0 ); reverse( str1.begin(), str1.end() ); ... 阅读全文
posted @ 2018-04-08 16:24 摇啊摇啊 阅读(179) 评论(0) 推荐(0) 编辑