码迷,mamicode.com
首页 >  
搜索关键字:ssi    ( 7015个结果
Codeforces Gym100971 C.Triangles-组三角形 (IX Samara Regional Intercollegiate Programming Contest Russia, Samara, March 13)
这个题就是组三角形,从给出的数组里任选两个和未知的边组三角形。 任意两边之和大于第三边,记住这个就可以了。 代码: ...
分类:其他好文   时间:2018-09-25 20:39:05    阅读次数:139
HDU - 6241 :Color a Tree(不错的二分)
Bob intends to color the nodes of a tree with a pen. The tree consists of NN nodes. These nodes are numbered 1,2,...,N1,2,...,N. The root of the tree ...
分类:其他好文   时间:2018-09-24 22:18:43    阅读次数:182
Python并发编程-进程间数据共享
+ Manager中进程数据不安全 + 通过加锁解决 ...
分类:编程语言   时间:2018-09-24 21:46:09    阅读次数:129
hihocoder #1828 : Saving Tang Monk II(BFS)
描述 《Journey to the West》(also 《Monkey》) is one of the Four Great Classical Novels of Chinese literature. It was written by Wu Cheng'en during the Ming ...
分类:其他好文   时间:2018-09-24 17:46:40    阅读次数:165
CodeForces - 996B
Allen wants to enter a fan zone that occupies a round square and has nn entrances. There already is a queue of aiai people in front of the ii-th entra ...
分类:其他好文   时间:2018-09-24 11:15:04    阅读次数:187
用python的re(正则表达式)模块匹配英文环境下的括号
在用re(正则表达式)模块匹配掉文本中的括号时,总是出现各种各样的问题,经过将近一个小时的摸索,终于找到了问题的所在。 案例: 将 txt = 'Linux系统安装 - 1.1(Av20994127,P1).Flv' 中的(Av20994127,P1)匹配出来,再用re.sub()去掉。 初次尝试: ...
分类:编程语言   时间:2018-09-24 00:33:44    阅读次数:292
TensorFlow activatefunction 和可视化(2)
# View more python learning tutorial on my Youtube and Youku channel!!! # Youtube video tutorial: https://www.youtube.com/channel/UCdyjiB5H8Pu7aDTNVXT... ...
分类:其他好文   时间:2018-09-23 18:27:50    阅读次数:188
Django2.1.1与xadmin0.6.0遇到的坑
最近在写一个网站项目,使用的是Django2.1.1和xadmin0.6.0,遇到一些坑,写下来分享。
分类:其他好文   时间:2018-09-23 13:46:20    阅读次数:1084
Python简单多进程demo
打印子进程和父进程信息: ...
分类:编程语言   时间:2018-09-23 13:45:02    阅读次数:129
codeforces 700a//As Fast As Possible// Codeforces Round #364(Div. 1)
题意:n个人要运动ll长,有个bus带其中几个人,问最短时间 最后所有人在同一时间到终点是用时最少的。由于搭bus相当于加速,每个人的加速时间应该一样。先计算bus走过的路程route。看第一个人被搭t分钟(也就是所有人以后都搭t分钟),剩余的人走t分钟,route+=v2*t。bus到了v2*t的 ...
分类:其他好文   时间:2018-09-23 13:39:05    阅读次数:208
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!