题目链接:点击打开链接
gg。。。
#pragma comment(linker, "/STACK:1024000000,1024000000")
#include
#include
#include
#include
#include
#include
#include
using namespace std;
#define ll int
#define point Poin...
分类:
其他好文 时间:
2014-07-24 12:24:55
阅读次数:
256
下载wget http://www.vim.org/scripts/download_script.php?src_id=19574 -O taglist.zip 然后解压taglist.zip到~/.vim/目录下在vim中使用如下命令切换taglist显示:TlistToggle 使用Ctr.....
分类:
其他好文 时间:
2014-07-24 12:14:05
阅读次数:
319
因为基本从c#/javascript/c/c++/python/lua/action script,一路走来,对所有的C系列的语法既熟悉又有好感;那在看语言的时候肯定会与C系列的东西进行类比,那就总结一下go语言与C比的特别之处声明变量常量及函数类型时放在名称的后面,这点有点类似as3,只不过把as...
分类:
其他好文 时间:
2014-07-24 09:44:12
阅读次数:
203
seajs官网说:seajs是一个模块加载器,所以学习它并不难。在我的理解就是:本来我们是需要手动创建 script标签 引入 js文件的,但用seajs后,它就自动帮我们完成这些工作。这里只说实现原理,具体使用请看seajs官网:http://seajs.org/docs/下面总结一下:1. se...
分类:
Web程序 时间:
2014-07-23 15:39:49
阅读次数:
276
射线
射线,类比的理解就是游戏中的子弹。是在3D世界里中一个点向一个方向发射的一条无终点的线。在发射的过程中,一旦与其他对象发生碰撞,就停止发射。
射线的原理
创建一个射线时,首先需要知道射线的起点和终点在3D世界里的坐标。using UnityEngine;
using System.Collections;
public class Script_06_08 : Mono...
分类:
其他好文 时间:
2014-07-23 13:21:46
阅读次数:
264
USE [master]GO/****** Object: LinkedServer [MobileMDMlinkServer ] Script Date: 2014/7/23 11:10:16 ******/EXEC master.dbo.sp_addlinkedserver @serve...
分类:
其他好文 时间:
2014-07-23 12:56:06
阅读次数:
236
webdriver提供了execute_script()接口来帮助我们完成这一工作。在实际的测试脚本中,以下两种场景是经常遇到的在页面直接执行一段js在某个已经定位的元素的上执行jsjs.html js ...
分类:
Web程序 时间:
2014-07-23 12:29:16
阅读次数:
269
下载API帮助、源码、示例
http://files.cnblogs.com/wzmaodong/formValidator4.0.1.zip
示例代码
<script?type="text/javascript">
$(document).ready(function(){
?$.formValidator.initConfig({onError:fun...
分类:
Web程序 时间:
2014-07-23 00:33:57
阅读次数:
400
修改apache配置文件如下<Directory"/usr/local/sae/httpd//htdocs/cgi-bin">AllowOverrideNoneOptionsExecCGIOrderallow,denyAllowfromall</Directory>AddTypetext/html.htm.html.pyAddHandlercgi-script.cgi.py编写hello_get.py,放在/usr/local/sae/httpd/htdocs/..
分类:
编程语言 时间:
2014-07-23 00:22:58
阅读次数:
203
裸敲并查集,很水一次AC 1 #include 2 #include 3 #include 4 #include 5 #include 6 #include 7 #include 8 #include 9 #include 10 11 #pragma comment(linker, ...
分类:
其他好文 时间:
2014-07-22 23:42:17
阅读次数:
284