看了解题报告,发现看不懂 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
(1)添加文件核路径(2)库文件路径(3)main.cpp#include #include extern "C"{ #include #include #include }#pragma comment(lib, "lua51.lib")#pragma comment(lib, "lua5.1.....
分类:
其他好文 时间:
2014-08-12 18:37:14
阅读次数:
172
通过声明gameobject对象,实现较通用脚本#pragma strict
//code:myhaspl@myhaspl.com
//date:2014-08-12
var rotate_object:GameObject;
var translate_object:GameObject;
var fuhao:int;
fuhao=-1;
function Update () {
if (...
分类:
移动开发 时间:
2014-08-12 17:22:34
阅读次数:
188