码迷,mamicode.com
首页 >  
搜索关键字:python long string    ( 244880个结果)
projecteuler---->problem=5----Smallest multiple n个数求最小公倍数
title: 2520 is the smallest number that can be divided by each of the numbers from 1 to 10 without any remainder. What is the smallest positive number that is evenly divisible by all of the nu...
分类:其他好文   时间:2014-06-07 01:27:37    阅读次数:229
projecteuler---->problem=7----10001st prime
title: By listing the first six prime numbers: 2, 3, 5, 7, 11, and 13, we can see that the 6th prime is 13. What is the 10 001st prime number? 翻译: 通过列出前6个质数,我们可知第6个质数是13。 那么第10001个质数是...
分类:其他好文   时间:2014-06-05 12:28:28    阅读次数:277
projecteuler---->problem=6----Sum square difference
title: The sum of the squares of the first ten natural numbers is, 12 + 22 + ... + 102 = 385 The square of the sum of the first ten natural numbers is, (1 + 2 + ... + 10)2 = 552 = 3025 Hence ...
分类:其他好文   时间:2014-06-05 12:03:29    阅读次数:243
python try except else finally 执行顺序详细分析
python try except else finally 执行顺序详细分析...
分类:编程语言   时间:2014-06-05 11:43:56    阅读次数:305
【leetcode】Scramble String
题目:给定两个串s1和s2,对s1串,我们可以将其分割成两部分,这两部分都不为空,而被分割成的两部分,又可以递归的进行分割,直到不能进行分割为止,也就是只有一个字符的时候,就不在分割了。问s2是否由s1的这种分割表示中,某步分割成的两部分交换得到的。这种交换可以在不同的分割点进行多次。 /* s1 |__________p____________| ...
分类:其他好文   时间:2014-06-05 11:09:06    阅读次数:207
python 解析html基础 HTMLParser库,方法,及代码实例
HTMLParser, a simple lib as html/xhtml parser              官方解释:              This module defines a class HTMLParser which serves as the basis for parsing text files formatted in HTML (HyperText...
分类:编程语言   时间:2014-06-05 11:02:37    阅读次数:354
使用Spring RMI调用远程方法
Spring有多种调用远程的方式,今天学习了一下远程方法调用(RMI)。 RMI需要服务端和客户端 我们先从服务器开始 我的代码结构 package rmi; public interface ServerRmiI { public String sayHi(String name); } package rmi; public class Ser...
分类:编程语言   时间:2014-06-05 06:57:55    阅读次数:207
OpenJDK 源代码阅读之 String
OpenJDK 源代码阅读之 String...
分类:其他好文   时间:2014-06-05 06:51:59    阅读次数:213
使用模板元编程操作类型集合(C++11下的TypeList)
Wrote by mutouyun. (http://darkc.at/cxx-type-list/) 群里有个朋友要实现这么一个功能:如何在编译期把一个函数类型的参数减少一个。 简单来说,就是实现下面这个模板: remove_func_par::type; // type = void(int, long) 根据输入的编译期整数,把函数参数表里对应的参数干掉一个。 为了实现...
分类:编程语言   时间:2014-06-05 06:04:09    阅读次数:273
Apache的WSGIRestrictedEmbedded
1. 同事的一台服务器在修改了系统时区后重启的时候,检测到了apache的error_log出现了以下内容 2.这是apache的mod_wsgi模块,这个模块可以用python作为CGI脚本来跑网络应用,可是同事的服务器上跑的是php的程序.根本就没点儿python的代码.  打开httpd.conf后,也没有找到和这个模垮有关的内容....
分类:其他好文   时间:2014-06-05 06:03:26    阅读次数:211
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!