码迷,mamicode.com
首页 >  
搜索关键字:python function    ( 188437个结果)
fusionchart实现ZoomLine 源代码 破解版 可以导出
最近画油量曲线需要用到ZoomLine官网看了好几天,现在整理出来供大家参考使用 zoomline.html源代码 FusionCharts Free Documentation //导出图片调用的方法 function startExport(){ var chart = getChartFromId("myFusionExport"...
分类:其他好文   时间:2014-06-03 00:48:21    阅读次数:440
projecteuler---->problem=12----Highly divisible triangular number
title: The sequence of triangle numbers is generated by adding the natural numbers. So the 7th triangle number would be 1 + 2 + 3 + 4 + 5 + 6 + 7 = 28. The first ten terms would be: 1, 3, 6, 10,...
分类:其他好文   时间:2014-06-01 10:31:26    阅读次数:233
projecteuler---->problem=11----Largest product in a grid
In the 2020 grid below, four numbers along a diagonal line have been marked in red. 08 02 22 97 38 15 00 40 00 75 04 05 07 78 52 12 50 77 91 08 49 49 99 40 17 81 18 57 60 87 17 40 98 43 69 48 04 56 ...
分类:其他好文   时间:2014-06-01 10:04:38    阅读次数:419
HDU2571
昨晚早早跪了,身体太累了,根本吃不消CF了,早上起来继续刷一题!Then,写写python,shell,基本又一天。 题目还是中文题~! 思路:一开始看起来这题目有dfs,但这个矩阵貌似太大了,dfs不敢碰,还是老老实实dp吧,我的做法是,先刷掉最第一列,因为第一列只能从左上往下,then,第i行第j列应该就是dp[i][j]=max(dp[i-1][j],dp[i][k] )+dp[i]...
分类:其他好文   时间:2014-06-01 09:49:34    阅读次数:238
projecteuler---->problem=9----Special Pythagorean triplet
title: A Pythagorean triplet is a set of three natural numbers, a b c, for which, a2 + b2 = c2 For example, 32 + 42 = 9 + 16 = 25 = 52. There exists exactly one Pythagorean triplet for wh...
分类:其他好文   时间:2014-06-01 09:17:53    阅读次数:251
projecteuler---->problem=10----Summation of primes
title: The sum of the primes below 10 is 2 + 3 + 5 + 7 = 17. Find the sum of all the primes below two million. 翻译: 10以下的质数的和为2 + 3 + 5 + 7 = 17。 请求出200,0000以下所有质数的和。 import math,time d...
分类:其他好文   时间:2014-06-01 09:12:31    阅读次数:239
织梦只调用上一页下一页链接不要其他
//打开织梦系统文件 /include/arc.archives.class.php 找到GetPreNext函数 function GetPreNext($gtype='') { $rs = ''; if(count($this->PreNext)ArcID; ...
分类:其他好文   时间:2014-06-01 08:49:14    阅读次数:241
JS学习笔记-OO疑问之封装
封装是面向对象的基础,今天所要学习的匿名函数与闭包就是为了实现JS的面向对象封装。封装实现、封装变量,提高数据、系统安全性,封装正是面向对象的基础。 匿名函数          即没有名字的函数,其创建方式为                   function(){...}          单独存在的匿名函数,无法运行,可通过赋值给变量调用或通过表达式自我执行来实现运行。...
分类:Web程序   时间:2014-06-01 07:02:03    阅读次数:302
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!