码迷,mamicode.com
首页 >  
搜索关键字:end    ( 30778个结果
常用Sql
1、case 函数:--简单Case函数CASE sexWHEN '1' THEN '男'WHEN '2' THEN '女'ELSE '其他' END--Case搜索函数CASE WHEN sex = '1' THEN '男'WHEN sex = '2' THEN '女'ELSE '其他' END备...
分类:数据库   时间:2015-05-03 14:33:02    阅读次数:131
Java for LeetCode 019 Remove Nth Node From End of List
Given a linked list, remove the nth node from the end of list and return its head.For example, Given linked list: 1->2->3->4->5, and n = 2. After ...
分类:编程语言   时间:2015-05-03 11:49:43    阅读次数:115
杭电acm---1000
Input: Each line will contain two integers A and B.process to end of fileOutput:for each case,output A and B in one lineSubmit:#includeusing namespace...
分类:其他好文   时间:2015-05-03 10:31:37    阅读次数:97
iOS基础控件UINavigationController中的传值
iOS基础控件UINavigationController中的传值,代理传值,正向传值,反向传值#import //声明一个协议@protocol SendValue//定义一个方法- (void)sendBtnTitle:(NSString *)title;@end@interface First...
分类:移动开发   时间:2015-05-03 07:04:53    阅读次数:203
次小生成树【模板】
给一个图,判断图的最小生成树是否唯一。 End[]记录邻接表尾节点的位置。MST表示最小生成树的大小,SecMST表示次小生成树的大小。#include #include #include #include using namespace std; const int MAXN = 1010; const int MAXM...
分类:其他好文   时间:2015-05-03 00:49:11    阅读次数:187
数据存储过程 (54)
存储过程:procedure:就是一段可执行程序。这个程序运行在数据中。 Begin = {End = }IfElse也可以接收参数。1 定义一个procedure:CREATE PROCEDURE proc1()BEGIN ――{ SELECT * FROM users;END // ―― }.....
分类:其他好文   时间:2015-05-02 21:56:09    阅读次数:168
slice与substring与substr
substr(begin,end): begin表示起始index,end表示提取几位substring(begin,end):begin表示起始index,end表示结束index。slice(begin,end):同substring。slice与substring区别:1、substring中...
分类:其他好文   时间:2015-05-02 20:40:51    阅读次数:130
hdu 2058 The sum problem
数学题目。折腾了一天,这种方法不是最好的,不过按照自己的第一直觉的方法AC还是很开心的。#include#include#include#includeusing namespace std;struct abc{ int start, end;}dt[5000000];bool cmp(co...
分类:其他好文   时间:2015-05-02 19:26:32    阅读次数:178
hdu4221 Greedy?(贪心)
真不知道为啥全是英文题。。。就不能好好的出中文的啊  啊 啊 果然看错了题意   #include #include using namespace std; struct node { long long day,end; }c[100005]; bool cmp(node x,node y) { if(x.end<y.end) return true; if(x.end==y....
分类:其他好文   时间:2015-05-02 16:34:33    阅读次数:121
Delphi中客户端获取数据库更新信息(更新条数)
1.SQL语句if not exists ( select 1 from tb where xxx='XXX') //不存在,则插入数据 begin insert into tb(xxx) values('XXX') //这里自己定义,插入或更新都可以 end...
分类:数据库   时间:2015-05-02 16:28:30    阅读次数:151
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!