"Multidimensional spaces are completely out of style these days, unlike genetics problems" — thought physicist Woll and changed his subject of study t ...
分类:
其他好文 时间:
2017-07-23 21:16:25
阅读次数:
410
除了定义和切片外,这里总结下系列的操作: 可以分为两种情况进行总结: 总结1:单元元素操作 总结1:整个列表的操作 总结2:多数情况均是以names.XXXX()进行操作,有几个不是: ...
分类:
编程语言 时间:
2017-07-19 16:18:22
阅读次数:
218
Dice (III) Given a dice with n sides, you have to find the expected number of times you have to throw that dice to see all its faces at least once. As ...
分类:
其他好文 时间:
2017-07-19 14:47:41
阅读次数:
220
1 from heapq import *; 2 from collections import *; 3 import random as rd; 4 import operator as op; 5 import re; 6 7 data = [2,2,6,7,9,12,34,0,76,-12, ...
分类:
编程语言 时间:
2017-07-17 18:57:45
阅读次数:
165
WebRTC是HTML5支持的重要特性之中的一个。有了它,不再须要借助音视频相关的client。直接通过浏览器的Web页面就能够实现音视频对聊功能。并且WebRTC项目是开源的。我们能够借助WebRTC源代码高速构建自己的音视频对聊功能。不管是使用前端JS的WebRTC API接口,还是在WebRT ...
分类:
Web程序 时间:
2017-07-16 13:35:08
阅读次数:
601
Space Ant The most exciting space discovery occurred at the end of the 20th century. In 1999, scientists traced down an ant-like creature in the plane ...
分类:
其他好文 时间:
2017-07-15 19:48:41
阅读次数:
206
I can't breathe. ont of my toes just came off. no one be in love with you. They are far too easy to judge. Humourless Poppycocks, in my limited experi ...
分类:
其他好文 时间:
2017-07-14 14:46:30
阅读次数:
161
hdu 5955 Guessing the Dice Roll 【AC自动机+高斯消元】 题意:给出 n≤10 个长为 L≤10 的串,每次丢一个骰子,先出现的串赢,问获胜概率。 题解:裸的AC自动机,求匹配到终止结点的概率,用 高斯消元?一开始不知道怎么建方程组,直接举个例子吧: Input: 1 ...
分类:
其他好文 时间:
2017-07-11 13:27:06
阅读次数:
772
题目名称掷骰子环岛旁边铁路历险 源文件名 dice.pas/.c/.cpp roundabout.pas/.c/.cpp railway.pas/.c/.cpp 输入文件 dice.in roundabout.in railway.in 输出文件 dice.out roundabout.out ra ...
分类:
其他好文 时间:
2017-07-08 12:18:18
阅读次数:
197
这货很强大, 必须掌握 文档 链接 http://docs.python.org/2/library/itertools.html pymotw 链接 http://pymotw.com/2/itertools/ 基本是基于文档的翻译和补充,相当于翻译了 itertools用于高效循环的迭代函数集合 ...
分类:
编程语言 时间:
2017-07-02 12:20:41
阅读次数:
186