C#2.0 泛型,可空类型,匿名方法,更方便的委托,迭代器,分布类型,静态类,包含不同访问修饰符的属性的取值和赋值方法,命名空间别名,pragma指令,固定大小的缓冲器。C#3.0 LINQ,自动属性,var,对象和集合的初始化器,匿名类型,Lambda表达式,扩展方法C#4.0 可选参数,命...
分类:
其他好文 时间:
2014-08-15 01:27:36
阅读次数:
190
先是看错题意。。然后知道题意之后写了发dp..无限TLE..实在是不知道怎么优化了,跑了遍数据是对的,就当作理论AC掉好了。。#pragma warning(disable:4996)#include #include #include #include #include #include #inc...
分类:
其他好文 时间:
2014-08-15 01:25:36
阅读次数:
324
看了解题报告,发现看不懂 QAQ比较简单的解释是这样的:可以先暴力下达标,然后会发现当前数和 上一个数的差值是一个固定值,而且等于当前数与i(第i个数)的商,于是没有规律的部分暴力解决,有规律的套公式//#pragma comment(linker, "/STACK:16777216") //for...
分类:
其他好文 时间:
2014-08-14 23:32:16
阅读次数:
241
//发头控制浏览器不要缓存 response.setDateHeader("expries", -1); response.setHeader("Cache-Control", "no-cache"); response.setHeader("Pragma", "no-cache");
分类:
其他好文 时间:
2014-08-14 23:07:56
阅读次数:
138
#pragma warning(disable:4996)#include #include #include #include #include #include #include #include #include #include using namespace std;#define max...
分类:
其他好文 时间:
2014-08-14 03:43:37
阅读次数:
232
# pragma clang diagnostic push# pragma clang diagnostic ignored "-Warc-performSelector-leaks" [self performSelector:callFunc withObject:array[1]];#...
分类:
其他好文 时间:
2014-08-14 01:24:27
阅读次数:
245
#pragma mark - 获取当前连接wifi信息- (NSString *)returnWifiName{ NSString *wifiName = @"Not Found"; CFArrayRef myArray = CNCopySupportedInterfaces()...
分类:
移动开发 时间:
2014-08-13 18:13:06
阅读次数:
184
FindWithTag查找标签,Find查找名称,2个函数均查找游戏对象GameObject.FindWithTagGameObject.Find下面例子移动摄像机,同时追踪球的移动#pragma strict
//code:myhaspl@myhaspl.com
//date:2014-08-13
import System;
var translate_object:Rigidbody;
va...
分类:
移动开发 时间:
2014-08-13 13:05:06
阅读次数:
362
本人是初学MFC,这几天都要弄怎么抓取网页代码,一开始是一头雾水,不过最后多亏网上的丰富资源,让我有所收获,我也帮助新手们,下面是我自己参考网上资料所得的。 1 #pragma once 2 3 4 //抓取网页代码封装类 5 6 #include //所需要的函数的头文件。 7 8 9...
分类:
Web程序 时间:
2014-08-13 13:00:36
阅读次数:
362
通用信息头Cache-Control : no-cache(不缓存当前请求) [*]Connection:close(返回当前请求后立即断开)[*]Date:。。。(HTTP消息产生的时间)Pragma:no-cache (不缓存) [*]Trailer:Date(哪些能放到实体内容后的头字段)T....
分类:
其他好文 时间:
2014-08-13 01:06:14
阅读次数:
169