码迷,mamicode.com
首页 >  
搜索关键字:tell    ( 578个结果
The Unique MST POJ - 1679 (次小生成树)
Given a connected undirected graph, tell if its minimum spanning tree is unique. Definition 1 (Spanning Tree): Consider a connected, undirected graph ...
分类:其他好文   时间:2018-07-08 16:40:47    阅读次数:184
Where is virtualenvwrapper.sh after pip install?
I'm trying to setup virtualenvwrapper on OSX, and all the instructions and tutorials I've found tell me to add a source command to .profile, pointing ...
分类:移动开发   时间:2018-07-07 15:47:36    阅读次数:175
[Vue] Lazy Load a Route by using the Dynamic Import in Vue.js
By default, vue-router doesn’t lazy load the routes unless you tell it to do it. Lazy loading of the non-critical routes is one of the points of the P ...
分类:Web程序   时间:2018-07-02 21:34:22    阅读次数:259
8,文件操作
f = open(“文件的路径”,"r(w,a)",encoding='utf-8') r:只读,不能够写 data = f.read()#读全部,只能读一次,想读第第二次需要调整光标 print(f.tell()):告诉你光标的位置 f.seek(0):将光标移动到指定位置 f.readline( ...
分类:其他好文   时间:2018-06-24 00:51:48    阅读次数:150
python文件操作
fiel1.txt def read_file(): with open('fiel1.txt', 'r', encoding='utf-8') as f: print(' readline') f.readline() # 读一行 t1 = f.tell() # 记录当前光标位置为下一行开头 pr ...
分类:编程语言   时间:2018-05-29 23:34:56    阅读次数:288
01_验证码之字符验证码
认识验证码 什么是验证码 验证码(CAPTCHA)是“Completely Automated Public Turing test to tell Computers and Humans Apart” (全自动区分计算机和人类的图灵测试)的缩写, 是一种区分用户是计算机还是人的公共全自动程序。可 ...
分类:其他好文   时间:2018-05-24 11:58:23    阅读次数:164
poj1679 次最小生成树 kruskal(暴力枚举)
Description Given a connected undirected graph, tell if its minimum spanning tree is unique. Definition 1 (Spanning Tree): Consider a connected, undir ...
分类:其他好文   时间:2018-05-23 23:31:56    阅读次数:220
hdu-2685 I won't tell you this is about number theory---gcd和快速幂的性质
题目链接: http://acm.hdu.edu.cn/showproblem.php?pid=2685 题目大意: 求gcd(am-1,an-1)%k 解题思路: 对于am-1 = (a - 1) * (1 + a + a2 + ... + am-1) 所以最开始的gcd就为a-1 对于两个1 + ...
分类:其他好文   时间:2018-05-18 23:35:13    阅读次数:368
POJ 1679 The Unique MST(判断最小生成树是否唯一)
题目链接: http://poj.org/problem?id=1679 Description Given a connected undirected graph, tell if its minimum spanning tree is unique. Definition 1 (Spanni ...
分类:其他好文   时间:2018-05-18 00:22:45    阅读次数:164
面向对象
编程范式: 面向过程编程、面向对象编程、函数式编程 面向过程(Procedural programming): Procedural programming uses a list of instructions to tell the computer what to do step-by-ste ...
分类:其他好文   时间:2018-05-13 23:44:04    阅读次数:263
578条   上一页 1 ... 16 17 18 19 20 ... 58 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!