码迷,mamicode.com
首页 >  
搜索关键字:python long string    ( 244880个结果)
python 实现二分法查找
二分查找图二叉树:代码#!/usr/bin/python#-*-coding:utf-8-*-#----------------------------------------------------------------------------------------# to_do : bin....
分类:编程语言   时间:2014-06-09 23:06:48    阅读次数:295
字符串2014年6月7日17:29:44
---恢复内容开始---字符串替换:string Replace(string oldValue, string newValue)将字符串中的出现oldValue的地方替换为newValue。例子:名字替换。1 string s = "abc1234";2 ...
分类:其他好文   时间:2014-06-09 22:47:39    阅读次数:341
nupt1207(重数问题)
1.统计重数及次数。2.hash。%p,若冲突,则向后移动。******************************#include#include#includeusing namespace std;const int maxn=5000000;const int p=1200007;str...
分类:其他好文   时间:2014-06-09 22:34:07    阅读次数:211
C++中string类型对象和double型变量之间的互相转换
//convert string type value to double type value string s = "23"; double d; istringstream is(s); is>>d; cout<<d<<endl; //输出23 //convert double type .....
分类:编程语言   时间:2014-06-09 22:15:55    阅读次数:220
使用python编写appium用例
安装Python依赖 pip3.4 install nose pip3.4 install selenium pip3.4 install Appium-Python-Client 运行测试用例android_contacts.py import os import unittest from appium import webdriver from time import slee...
分类:移动开发   时间:2014-06-08 05:55:17    阅读次数:482
about greenplum collection tool
three collection tool for greenplum:pstack、strace、gcore.                                                                                     [gpadmin@gtlions5913 ~]$ ps -ef | grep postgres|grep data...
分类:其他好文   时间:2014-06-08 05:30:55    阅读次数:287
js 判断字符串是否包含某字符串,String对象中查找子字符,indexOf
var Cts = "bblText";   if(Cts.indexOf("Text") > 0 ) {     alert('Cts中包含Text字符串'); } indexOf用法:  返回 String 对象内第一次出现子字符串的字符位置。         strObj.indexOf(subString[, startIndex])         参数  ...
分类:Web程序   时间:2014-06-08 05:00:36    阅读次数:300
projecteuler---->problem=23----Non-abundant sums
A perfect number is a number for which the sum of its proper divisors is exactly equal to the number. For example, the sum of the proper divisors of 28 would be 1 + 2 + 4 + 7 + 14 = 28, which means th...
分类:其他好文   时间:2014-06-08 04:05:14    阅读次数:315
Django - Django框架 简介
Django框架 简介本文地址: http://blog.csdn.net/caroline_wendy/article/details/29172271 1. 介绍Django是一个开放源代码的Web应用框架, 由Python写成.采用了MVC的软件设计模式, 即模型M, 视图V和控制器C.它最初是被开发来用于管理劳伦斯出版集团旗下的一些以新闻内容为主的网站的, 并于2005年7月在BSD许可证下发布.这套框架是以比利时的吉普赛爵士吉他手Djan...
分类:其他好文   时间:2014-06-08 04:02:20    阅读次数:397
[LeetCode] Longest Substring Without Repeating Characters [15]
题目:Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating letters for "abcabcbb" is "abc", which the length is 3. For "bbbbb" the longest substring is "b", with the length...
分类:其他好文   时间:2014-06-08 03:06:52    阅读次数:221
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!