#import "CHViewController.h"
@interface CHViewController ()
@end
@implementation CHViewController
- (void)viewDidLoad
{
[super viewDidLoad];
// Do any additional setup after loading the view,...
分类:
其他好文 时间:
2014-05-22 12:38:44
阅读次数:
369
1 For循环
语法:begin
for i in reverse 1..10 loop
insert into users values(i,’奥巴马‘);
end loop;
end;
注意:循环变量 i 是隐含增加的,所以无法看到
2 goto语句...
分类:
数据库 时间:
2014-05-22 12:12:34
阅读次数:
335
Remove Nth Node From End of List删除链表倒数的第N个元素...
分类:
其他好文 时间:
2014-05-22 11:15:52
阅读次数:
170
1、
.h
void onKeyReleased(EventKeyboard::KeyCode keycode, Event* event);...
分类:
移动开发 时间:
2014-05-22 10:01:21
阅读次数:
310
我们在对结果集使用find、filter等方法时,会改变结果集。
这种改变原先结果集的方法被称作destructive jQuery method
jQuery cookbook有如下定义:A destructive operation is any operation that changes the set of matched jQuery elements, which means a...
分类:
Web程序 时间:
2014-05-22 09:40:42
阅读次数:
382
题目:
链接:点击打开链接
题意:
给出N种设备的价值和数量,怎样尽可能的平分。
算法:
多重背包。
思路:
1.转化为01背包解决。2.使用单调队列优化O(VN)算法。
代码:
法一:
#include
#include
#include
using namespace std;
int n;
int v[55],m[55];
int...
分类:
其他好文 时间:
2014-05-22 09:09:38
阅读次数:
205
mysql 自定义存储过程和触发器
--存储过程示范
DROP PROCEDURE IF EXISTS PRO_TEST;
CREATE PROCEDURE PRO_TEST(IN NUM_IN INT,OUT NUM_OUT INT,INOUT NUM_INOUT)
BEGIN
//DO ANYTHING YOU WANT
END;
参数解释:
in : 就是输入参数,输...
分类:
数据库 时间:
2014-05-22 06:42:40
阅读次数:
345
平台:Windowsserver2012卷类别:CSV(clustersharedvolume)存储:DELLequalogicPS6100软体:HIT现象:针对CSV进行备份的时候,调用Microsoft的VSS能备份成功,但是不能调用DELLequalogic的VSS来备份,且Windows不断报以下错误:VSS8194经多放资料查证,本VSS报错与备份无关(..
分类:
其他好文 时间:
2014-05-20 19:30:02
阅读次数:
804
@interface FoodData : NSObject{ NSString *
foodName; float foodPrice;
}@end/////////////////////////////////////////////////////////////////////////.....
分类:
其他好文 时间:
2014-05-20 11:02:32
阅读次数:
229
戳我去解题Given a linked list, remove thenthnode from
the end of list and return its head.For example, Given linked list:
1->2->3->4->5, and n = 2. Aft...
分类:
其他好文 时间:
2014-05-20 08:04:28
阅读次数:
291