码迷,mamicode.com
首页 > 其他好文
试试pypy
pypy是一个python的解释器和JIT编译器。可以在不修改任何代码的情况下大幅提升python代码的性能。 使用超级简单,在官网下载编译好的二进制包进行安装,然后然后运行代码的时候指定这个解释器就行了。 我们来试试下面这段代码。 import time t1 = time.time() i = 10000000 while i: i -= 1 print time.time() ...
分类:其他好文   时间:2014-11-16 10:45:54    阅读次数:147
6-06. 任务调度的合理性(25)(ZJU_PAT)
6-06. 任务调度的合理性(25)(ZJU_PAT)...
分类:其他好文   时间:2014-11-16 10:43:43    阅读次数:237
SSL证书不支持IE6 全球可信SSL证书
不支持IE6的SSL证书算不算的上全球可信的SSL证书?经过测试某品牌SSL证书竟然在IE6下https竟然无法访问...
分类:其他好文   时间:2014-11-16 10:45:18    阅读次数:155
[leetcode]3 Sum closest
问题描述: Given an array S of n integers, find three integers in S such that the sum is closest to a given number, target. Return the sum of the three integers. You may assume that each input would ha...
分类:其他好文   时间:2014-11-16 10:44:35    阅读次数:123
LeetCode Generate Parentheses
Given n pairs of parentheses, write a function to generate all combinations of well-formed parentheses.For example, given n = 3, a solution set is:"((()))", "(()())", "(())()", "()(())", "()()()"思路分析:...
分类:其他好文   时间:2014-11-16 10:44:42    阅读次数:164
【图像处理】基于OpenCV底层实现的滤波
基于OpenCV和C++底层实现的高斯滤波、中值滤波、均值滤波...
分类:其他好文   时间:2014-11-16 10:44:14    阅读次数:251
LeetCode Container With Most Water
Given n non-negative integers a1, a2, ..., an, where each represents a point at coordinate (i, ai). n vertical lines are drawn such that the two endpoints of line i is at (i, ai) and (i, 0). Find two ...
分类:其他好文   时间:2014-11-16 10:43:04    阅读次数:154
Biometrika
Biometrika是牛津大学的周刊,重点是关注生物,数学,生物信息学http://biomet.oxfordjournals.org/
分类:其他好文   时间:2014-11-16 10:42:07    阅读次数:153
cft1B
B -Friends and PresentsTime Limit:1000MSMemory Limit:262144KB64bit IO Format:%I64d & %I64uSubmitStatusPracticeCodeForces 483BDescriptionYou have two f...
分类:其他好文   时间:2014-11-16 10:41:06    阅读次数:141
uscao4
Money Systems描述母牛们不但创建了他们自己的政府而且选择了建立了自己的货币系统。由于他们特殊的思考方式,他们对货币的数值感到好奇。传统地,一个货币系统是由1,5,10,20 或 25,50, 和 100的单位面值组成的。母牛想知道有多少种不同的方法来用货币系统中的货币来构造一个确定的数值...
分类:其他好文   时间:2014-11-16 10:40:17    阅读次数:129
spfa
#include#include#include#include#include#include#include#include#includeusing namespace std;vector e[2560],w[2560];queue q;int T,C,ts,te,dist[2560];bo...
分类:其他好文   时间:2014-11-16 10:42:35    阅读次数:217
HDU 4405
简单的概率DP,求期望,逆推更好。#include #include #include #include #define N 100005using namespace std;double p[N];struct e{ int u,v; int next;}edge[1010];int head[...
分类:其他好文   时间:2014-11-16 10:41:07    阅读次数:166
hdu 1863
畅通工程Time Limit: 1000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 17984Accepted Submission(s): 7616Problem Descr...
分类:其他好文   时间:2014-11-16 10:40:35    阅读次数:123
hdu 1053
Advanced FruitsTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 1615Accepted Submission(s): 834Spec...
分类:其他好文   时间:2014-11-16 10:38:41    阅读次数:106
BZOJ1135: [POI2009]Lyz
1135: [POI2009]LyzTime Limit:10 SecMemory Limit:162 MBSubmit:264Solved:106[Submit][Status]Description初始时滑冰俱乐部有1到n号的溜冰鞋各k双。已知x号脚的人可以穿x到x+d的溜冰鞋。 有m次操作,每...
分类:其他好文   时间:2014-11-16 10:41:10    阅读次数:266
poj 1833
排列Time Limit:1000MSMemory Limit:30000KTotal Submissions:16762Accepted:6709Description题目描述:大家知道,给出正整数n,则1到n这n个数可以构成n!种排列,把这些排列按照从小到大的顺序(字典顺序)列出,如n=3时,列...
分类:其他好文   时间:2014-11-16 10:39:31    阅读次数:116
DataTable分页代码
DataTable分页代码
分类:其他好文   时间:2014-11-16 10:37:37    阅读次数:179
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!