首页 > 其他
安装Sublime配合quick-cocos2d-x开发
下载地址Sublime下载地址安装 Package Control在Sublime中,按Ctrl+~打开控制台,输入:import urllib2,os; pf='Package Control.sublime-package'; ipp=sublime.installed_packages_path(); os.makedirs(ipp) if not os.path.exists(ipp) el...
分类:其他   时间:2015-03-13 12:44:49    收藏:0  评论:0  赞:0  阅读:1437
zoj 2921 Stock(贪心)
Optiver sponsored problem. After years of hard work Optiver has developed a mathematical model that allows them to predict wether or not a company will be succesful. This obviously gives them a grea...
分类:其他   时间:2015-03-13 12:44:29    收藏:0  评论:0  赞:0  阅读:279
HDU 1428 漫步校园 (BFS+优先队列+记忆化搜索)
题目地址:HDU 1428 先用BFS+优先队列求出所有点到机房的最短距离,然后用记忆化搜索去搜。 代码如下:#include #include #include #include #include #include #include #include <set...
分类:其他   时间:2015-03-13 12:44:19    收藏:0  评论:0  赞:0  阅读:264
LeetCode Spiral Matrix
Given a matrix of m x n elements (m rows, n columns), return all elements of the matrix in spiral order. For example, Given the following matrix: [ [ 1, 2, 3 ], [ 4, 5, 6 ], [ 7, 8, 9 ] ]...
分类:其他   时间:2015-03-13 12:43:29    收藏:0  评论:0  赞:0  阅读:180
不协调的世界(3)-高速公路
首先需要声明,本文纯属一个毫无远见和真才实学的小小散户的愚昧见解,仅供参考。 此路是我开,此树是我栽; 要从此路过,留下买路财。这一段文字,想必看过武侠小说或者武侠剧的人都会非常熟悉。而在现实生活中,有一个行业干的事情,怎么看都是按照这个流程收费的,这个就是高速公路行业。在我的印象中,高速公路不是一个很久远的事情,我的老家在湖南省隆回县,第一条高速公路是沪昆高速的一部分—“潭邵高速”。...
分类:其他   时间:2015-03-13 12:43:19    收藏:0  评论:0  赞:0  阅读:188
openstack创建虚拟机思维导图整理
openstack创建虚拟机思维导图整理:...
分类:其他   时间:2015-03-13 12:42:49    收藏:0  评论:0  赞:0  阅读:383
Meteor 添加账户系统
Meteor 添加账户系统我们给meteor添加一个账户系统 导入包 meteor add ian:accounts-ui-bootstrap-3 meteor add accounts-password在界面添加登陆按钮 {{> loginButtons}}result...
分类:其他   时间:2015-03-13 12:42:39    收藏:0  评论:0  赞:0  阅读:208
Entity Framework(实体框架 EF)
什么是Entity Framework呢(下面简称EF)?       EF(实体框架)是ADO.NET中的一组支持开发面向数据的软件应用程序的技术,是微软的一个ORM框架。ORM(对象关系映射框架):指的是面向对象的对象模型和关系型数据库的数据结构之间的相互转换。       如此官方的解释,你懂吗? 我理解的是,业务实体在内存中表现为对象,在数据库中表现为数据,内存中的对象之间,存在关联和...
分类:其他   时间:2015-03-13 12:42:19    收藏:0  评论:0  赞:0  阅读:242
Leetcode: Merge Sorted Array
题目: Given two sorted integer arrays A and B, merge B into A as one sorted array.Note: You may assume that A has enough space (size that is greater or equal to m + n) to hold additional elements from...
分类:其他   时间:2015-03-13 12:42:09    收藏:0  评论:0  赞:0  阅读:234
喜羊羊系列之fcntl
功能描述:根据文件描述词来操作文件的特性。   #include #include   int fcntl(int fd, int cmd);   int fcntl(int fd, int cmd, long arg);   int fcntl(int fd, int cmd, struct flock *lock);   [描述] fcntl()针对(文件)描述符...
分类:其他   时间:2015-03-13 12:41:49    收藏:0  评论:0  赞:0  阅读:325
Nginx 负载均衡配置和策略
Nginx 负载均衡配置和策略...
分类:其他   时间:2015-03-13 12:41:09    收藏:0  评论:0  赞:0  阅读:264
(hdu step 6.3.2)Girls and Boys(求最大独立集)
题目:Girls and BoysTime Limit: 20000/10000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 189 Accepted Submission(s): 127 Problem Descriptionthe second year of the univer...
分类:其他   时间:2015-03-13 12:40:59    收藏:0  评论:0  赞:0  阅读:243
glm编译错误问题解决 formal parameter with __declspec(align('16')) won't be aligned
参考:http://stackoverflow.com/questions/25300116/directxxmmatrix-error-c2719-declspecalign16-wont-be-aligned 参考:http://blog.csdn.net/yuanwenmao/article/details/6530826 环境:vs2013,glm-0.9.6.1 一、glm概述...
分类:其他   时间:2015-03-13 12:40:39    收藏:0  评论:0  赞:0  阅读:407
POJ1330Nearest Common Ancestors——最近公共祖先
http://poj.org/problem?id=1330给一个有根树,一个查询节点(u,v)的最近公共祖先836K 16MS#include #include #include #include #include #include #include #include<map...
分类:其他   时间:2015-03-13 12:40:29    收藏:0  评论:0  赞:0  阅读:243
动态配置 JBOSS ( eap 6.2 ) DataSource
操作环境  windows + jboss eap 6.2 + MyEclipse 10.0  配置远程接口                            在jboss企业版的jboss-eap-6.2\standalone\configuration的目录中standalone.xml 用于配置NativeMa...
分类:其他   时间:2015-03-13 12:40:25    收藏:0  评论:0  赞:0  阅读:271
USACO--2.1Hamming Codes
开始的时候没有什么思路,后面看了一下数据范围不大,直接就暴力了。 其实我们只需要从题目中给定的0–2^B-1这些数中从小到大选n个出来就行了,只需要满足每次选择的数和前面已选的数的Hamming距离必须不小于D。代码如下:/* ID: 15674811 LANG: C++ TASK: hamming */#include #include #include<cs...
分类:其他   时间:2015-03-13 12:39:59    收藏:0  评论:0  赞:0  阅读:277
57. 激活office时出下以下问题的解决方案
我们拿出一段来分析一下(我所知道的不多)SKU ID:1b686580-9fb1-4b88-bfba-eae7c0da31adLICENSE NAME: Office 15, OfficeProPlusR_Grace edition //这里标明了你的(不一定是你现在安装的)office版本LICE...
分类:其他   时间:2015-03-13 12:39:09    收藏:0  评论:0  赞:0  阅读:586
《程序员成长的烦恼》
如果你还有些迷茫,那么come in, smart boy
分类:其他   时间:2015-03-13 12:38:49    收藏:0  评论:0  赞:0  阅读:227
HDOJ2005-第几天?
Problem Description给定一个日期,输出这个日期是该年的第几天。Input输入数据有多组,每组占一行,数据格式为YYYY/MM/DD组成,具体参见sample input ,另外,可以向你确保所有的输入数据是合法的。Output对于每组输入数据,输出一行,表示该日期是该年的第几天。S...
分类:其他   时间:2015-03-13 12:38:29    收藏:0  评论:0  赞:0  阅读:247
Using sshfs to mount remote directory
Using sshfs to mount remote directoryUsing sshfs to mount remote directoryI am working on different locations, but I do not want to copy all the files...
分类:其他   时间:2015-03-13 12:37:39    收藏:0  评论:0  赞:0  阅读:253
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!