码迷,mamicode.com
首页 >  
搜索关键字:python long string    ( 244880个结果)
C# 时间 相关操作
DateTime.Now.ToString( " yyyy " )DateTime.Now.ToString( " yyyyMM " )DateTime.Now.ToString( " yyyyMMdd " )
分类:其他好文   时间:2014-06-15 00:49:01    阅读次数:135
js学习对象创建
Object.extend=function(destination, source) {for(varpropertyinsource) { destination[property]=source[property];}returndestination;}Prototype 对Object类进...
分类:Web程序   时间:2014-06-15 00:47:58    阅读次数:188
[leetcode]Add Two Numbers @ Python
原题地址:https://oj.leetcode.com/problems/add-two-numbers/题意:You are given two linked lists representing two non-negative numbers. The digits are stored i...
分类:编程语言   时间:2014-06-15 00:40:44    阅读次数:328
爬虫--用cookie访问任意网页
#!/usr/bin/env python# -*- coding: utf-8 -*-############################################## File : requestAnyURLWithCookie.py# Author : luc...
分类:Web程序   时间:2014-06-15 00:33:30    阅读次数:187
python getattr()
About getattrPython’s getattr function is used to fetch an attribute from an object, using a string object instead of an identifier to identify the at...
分类:编程语言   时间:2014-06-15 00:26:18    阅读次数:487
爬虫--登录网页
#!/usr/bin/env python# -*- coding: utf-8 -*-############################################## File : loginMMVOIP.py# Author : lucasysfeng# Re...
分类:Web程序   时间:2014-06-15 00:18:13    阅读次数:245
poj2524(简单并查集)
#include #include #include #include using namespace std;int n,m;int bin[50001];int findx(int x){ int r=x; while(r!=bin[r]) r=bin[r]; int j=x,k; while(...
分类:其他好文   时间:2014-06-15 00:17:10    阅读次数:323
C语言 知识点
1:多维数组参数12345实参 所匹配的形式参数数组的数组 char c[8][10]; char(*c)[10]; 数组指针指针数组 char *c[15]; char **c; ...
分类:编程语言   时间:2014-06-15 00:14:03    阅读次数:320
文件下载的多种方法
if (Request["name"] != null) { try { string FileName = MyCrypt.Decrypt(Request["name"]); //string FilePath = Server.MapPath(string.Format("UploadFile....
分类:其他好文   时间:2014-06-14 23:47:24    阅读次数:352
SPOJ FISHER + FPOLICE SPFA+背包
当初第一次做的是FPLICE这个题,当时就觉得要用图论去搜索,但是当时陷入死思维就是 dp[][]两个维度都是点,这样就违背了题目的本意,题目给定了一个时间T,在不超过时间T的情况下求最小的消耗,这不就是背包嘛。。。即拿T做容量,在图上面 设置 dp[i][j]表示i点的时候 j时间的最小消耗。这样...
分类:其他好文   时间:2014-06-14 23:18:41    阅读次数:298
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!