码迷,mamicode.com
首页 >  
搜索关键字:end    ( 30778个结果
词组缩写
1039:词组缩写分数: 10 时间限制:1 秒 内存限制:32 兆 特殊判题: 否 提交:35 解决: 11 标签 简单字符串处理 题目描述 定义:一个词组中每个单词的首字母的大写组合称为该词组的缩写。 比如,C语言里常用的EOF就是end of file的缩写。 输入格式 输入的第一行是一个整数T,表示一共...
分类:其他好文   时间:2014-12-01 19:19:33    阅读次数:152
sql 视图 按where条件多个字段取一个
首先介绍一下 Case ..When...Then..End  的用法: CASEJiXiaoFind_RowID  WHEN '1' THENJiXiao_Money1  WHEN '2' THEN JiXiao_Money2  WHEN '3' THEN JiXiao_Money3  WHEN '4' THEN JiXiao_Money4  ELSE JiXiao_Money5  ...
分类:数据库   时间:2014-12-01 14:18:12    阅读次数:278
jquery
为标签id=id1及其之后的所有标签加上背景色:方法1:$("#id1").nextAll().css("background-color","red").end().css("background-color","red");方法2:$("#id1").nextAll().andSelf().cs...
分类:Web程序   时间:2014-12-01 14:07:28    阅读次数:136
cgi程序报 Premature end of script headers:
这段时间写了一个CGI,也是为了应付工作,挺简单的一个程序,总是在调用的时候报:Premature end of script headers: 很让人头疼!在网上找了些资料,按资料----首先检查如下信息:1 要保证自己的APACHE中有mod_cgi或mod_perl模块2 apache配置文件...
分类:其他好文   时间:2014-12-01 07:43:48    阅读次数:195
任意N个数的子集生成算法
第一种方法: #include #include #include #include using namespace std; int q[100]; int w[100]; int cmp(int a,int b) { return a<b; } void subset(int cur,int end) { int i; for(i=0;i<cur;i++) ...
分类:编程语言   时间:2014-11-30 16:59:46    阅读次数:224
[Leetcode] Binary Tree Maximum Path Sum
Given a binary tree, find the maximum path sum.The path may start and end at any node in the tree.For example:Given the below binary tree, 1 ...
分类:其他好文   时间:2014-11-30 16:42:57    阅读次数:200
Binary Tree Maximum Path Sum
Given a binary tree, find the maximum path sum.The path may start and end at any node in the tree.For example:Given the below binary tree, 1 ...
分类:其他好文   时间:2014-11-29 21:37:03    阅读次数:330
创建几个小方块
#import "ViewController.h"@interface ViewController ()@end@implementation ViewController- (void)viewDidLoad { [super viewDidLoad]; int arr[4][4]={ 1,0...
分类:其他好文   时间:2014-11-29 21:31:48    阅读次数:258
堆排序(php实现)
堆排序基本步骤:1:把无序序列构成一个堆。2:交换堆顶元素和最后一个元素,交换之后由于堆结构破坏,重置堆。初始化堆和交换后的重置堆区别在于:初始化堆时从最后一个非叶子结点开始调整结点位子,交换堆顶元素后的重置只需要调节堆顶元素的位子。0;$end--){//交换堆顶和最后的一个元素 $tmp = ....
分类:编程语言   时间:2014-11-29 18:54:17    阅读次数:154
android 股票数据通过日K获取周K的数据 算法 源码
目前的数据是从新浪接口获取的,http://biz.finance.sina.com.cn/stock/flash_hq/kline_data.php?symbol=sh600000&end_date=20141120&begin_date=20120101返回数据为XML格式:1 2 3 ...
分类:移动开发   时间:2014-11-29 18:50:52    阅读次数:242
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!