上班,刚过年不忙,抽时间学习下vue 先搭建环境http://www.cnblogs.com/beimingbingpo/p/7929617.html ...
分类:
其他好文 时间:
2018-02-23 11:59:26
阅读次数:
193
传送门 全局最小割 stoer_wagner 论打板选手的自我修养 1 //Achen 2 #include<algorithm> 3 #include<iostream> 4 #include<cstring> 5 #include<cstdlib> 6 #include<vector> 7 #i ...
分类:
其他好文 时间:
2018-02-23 10:47:07
阅读次数:
180
之前要做一个电量计,采用INA219电流检测芯片,参考了网上大神的代码后发现在STM32上可用,移植到STM8后不可用,后来找到了官方的示例demo,综合网上大神代码调试后成功驱动,测电流、电压、功率,精确度很高。 现在分享出来供大家参考,直接贴代码: main.c ina219.c ina219. ...
分类:
其他好文 时间:
2018-02-23 10:46:39
阅读次数:
238
The swimming area of Berhattan's city beach is marked out with n buoys. The buoys form a straight line. When the buoys were being put into the water, ...
分类:
其他好文 时间:
2018-02-22 19:43:47
阅读次数:
159
Design a stack that supports push, pop, top, and retrieving the minimum element in constant time. push(x) -- Push element x onto stack.pop() -- Remove ...
分类:
其他好文 时间:
2018-02-20 19:02:52
阅读次数:
171
题目大意:给定一个N个点、M条边的无向带权图,边的权值均为正整数。若要使它变成非连通图,需要移除的边总权值最小是多少? N≤500,图中不存在自环,但可能有重边(这里题意没交代清楚)。 Stoer-Wagner算法裸题。英文维基:https://en.wikipedia.org/wiki/Stoer ...
分类:
编程语言 时间:
2018-02-19 15:39:20
阅读次数:
196
【题目描述】 Given an integer array (index from 0 to n-1, where n is the size of this array), and an query list. Each query has two integers[start, end]. Fo ...
分类:
其他好文 时间:
2018-02-17 22:05:41
阅读次数:
146
【题目描述】 Given an integer array (index from 0 to n-1, where n is the size of this array), and an query list. Each query has two integers[start, end]. Fo ...
分类:
其他好文 时间:
2018-02-17 20:29:46
阅读次数:
208
过年晚上无聊,233333333 题解: BST树的中序遍历是有序的,遍历过程中,记录前一个值,然后和当前值比较,来更新最小的minimum distance 注意python参数传递时候,像list这些object是传引用,单独int的数是传值的 ...
分类:
其他好文 时间:
2018-02-15 21:57:00
阅读次数:
196
滚动视图(UIScrollView) 简单介绍 1、UIScrollView滚动视图能够排列并显示超出自身显示范围的内容。 2、UIScrollView内部整合了多种手势来达到丰富的界面展示效果。 3、UITableView、UITextView都继承于UIScrollView。 UIScrollV ...
分类:
其他好文 时间:
2018-02-15 18:45:12
阅读次数:
286