首页 > 其他
URAL 1290. Sabotage(STL & 模拟啊)
URAL 1290. Sabotage(STL & 模拟啊)...
分类:其他   时间:2015-03-07 11:37:28    收藏:0  评论:0  赞:0  阅读:250
OpenGL ES 2.0渲染管线
http://codingnow.cn/opengles/1504.html Opengl es 2.0实现了可编程的图形管线,比起1.x的固定管线要复杂和灵活很多,由两部分规范组成:Opengl es 2.0 API规范和Opengl es着色语言规范。下图是Opengl es 2.0渲染管线,阴影部分是opengl es 2.0的可编程阶段。   1. 顶点着色器(V...
分类:其他   时间:2015-03-07 11:37:18    收藏:0  评论:0  赞:0  阅读:716
URAL 1295. Crazy Notions(数学啊 & 找规律)
URAL 1295. Crazy Notions(数学啊 & 找规律)...
分类:其他   时间:2015-03-07 11:36:38    收藏:0  评论:0  赞:0  阅读:226
LeetCode --- 51. N-Queens
题目链接:N-Queens The n-queens puzzle is the problem of placing n queens on an n×n chessboard such that no two queens attack each other. Given an integer n, return all distinct solutions to the n-queens...
分类:其他   时间:2015-03-07 11:36:28    收藏:0  评论:0  赞:0  阅读:307
LeetCode --- 52. N-Queens II
题目链接:N-Queens II Follow up for N-Queens problem. Now, instead outputting board configurations, return the total number of distinct solutions. 这道题的要求是返回N皇后问题总共有多少不同情况。 和N-Queens问题一样,同样的思路,至少这个是统计数量...
分类:其他   时间:2015-03-07 11:36:08    收藏:0  评论:0  赞:0  阅读:231
LeetCode --- 53. Maximum Subarray
题目链接:Maximum Subarray Find the contiguous subarray within an array (containing at least one number) which has the largest sum. For example, given the array [?2,1,?3,4,?1,2,1,?5,4], the contiguous s...
分类:其他   时间:2015-03-07 11:35:58    收藏:0  评论:0  赞:0  阅读:306
git 常用命令
git log git log -p:显示每一次的提交的差异 git log -p -x (x为次数,整数):指定了显示差异的次数 git log --stat:显示简要的增改行数统计 git log --author=何强:显示某个作者的提交记录 git checkout git checkout -- **(file):还原对file的修改 git checkout -b m...
分类:其他   时间:2015-03-07 11:35:38    收藏:0  评论:0  赞:0  阅读:284
FFmpeg源代码简单分析:avformat_close_input()
本文简单分析FFmpeg的avformat_close_input()函数。该函数用于关闭一个AVFormatContext,一般情况下是和avformat_open_input()成对使用的。...
分类:其他   时间:2015-03-07 11:35:28    收藏:0  评论:0  赞:0  阅读:366
URAL 1296. Hyperjump(最大子序列和)
URAL 1296. Hyperjump(最大子序列和)...
分类:其他   时间:2015-03-07 11:35:18    收藏:0  评论:0  赞:0  阅读:374
centos6.45 64位搭建游戏服务器pomelo环境
我也是一个linux新手 通过网上找的资料 在centos中进行pomelo,按照下面的步骤安装应该就没问题了。 1.安装node.js 这个地方要注意 不要按照官网上的那个链接下载,不要使用nodejs最新的版本 否则安装的时候会有错误 我在这个地方卡了半天。 使用下面这个命令下载 wget http://nodejs.org/dist/v0.10.28/node-v0.10.28.ta...
分类:其他   时间:2015-03-07 11:35:08    收藏:0  评论:0  赞:0  阅读:337
URAL 1567. SMS-spam (小学数学题)
1567. SMS-spam Time limit: 1.0 second Memory limit: 64 MB Petr, a student, decided to start his own business. He offers SMS advertising services to the business owners renting offices in ...
分类:其他   时间:2015-03-07 11:34:58    收藏:0  评论:0  赞:0  阅读:336
(hdu step 5.2.3)Phone List(在一堆号码中,判断是否有号码是其它号码的前缀)
题目:Phone ListTime Limit: 3000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 235 Accepted Submission(s): 92 Problem DescriptionGiven a list of phone numbers, deter...
分类:其他   时间:2015-03-07 11:34:48    收藏:0  评论:0  赞:0  阅读:239
计算机网络——数据链路层(PPP)
数据链路层使用的信道主要有以下两种类型: (1)点对点信道 (2)广播信道使用点对点信道的数据链路层首先明确一下“链路”和“数据链路”并不是一回事。 所谓链路,指的是从一个结点到相邻结点的一段物理线路,而中间没有任何其他的交换结点。 数据链路除了必须有一条物理线路以外,还必须有一些必要的通信协议来控制这些数据的传输。若把视线这些协议的硬件和软件加到链路上,就构成了数据链路。 点对点信道的数...
分类:其他   时间:2015-03-07 11:34:38    收藏:0  评论:0  赞:0  阅读:956
Erlang中的OTP简要
OTP包含了一组库和实现方式,可以构建大规模、容错和分布式的应用程序,包含了许多强大的工具,能够实现H248,SNMP等多种协议,核心概念是OTP行为,可以看作一个用回调函数作为参数的应用程序框架,类似一个J2EE容器。行为负责解决问题的非函数部分,回调函数负责解决函数部分。 通过gen_server模块可以实现事物语义和热代码交换, 1) 确定回调模块名 2) 编写接口函数 3) 在回调模块里编写6个必需的回调函数...
分类:其他   时间:2015-03-07 11:34:18    收藏:0  评论:0  赞:0  阅读:318
Ural1881(模拟)
题目链接:点击打开链接 解题思路: 处理起来比较麻烦,把长度用数组存起来,然后按照长度去取,去完之后看能分多少行,最后在取页数即可。精彩点在分行那。 完整代码: #include #include #include #include #include #include #include #include #include using namespace s...
分类:其他   时间:2015-03-07 11:34:08    收藏:0  评论:0  赞:0  阅读:299
Aizu 1296 简单bfs
题目链接:http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=1296 题意: 给出一些个替换模式, 问将原始串通过替换得到目标串所需要的最小的替换次数是多少。 思路:由于数据规模很小(n 通过这道题,熟悉一下string还有map的使用还是很不错的。 code: #include #include #include ...
分类:其他   时间:2015-03-07 11:33:48    收藏:0  评论:0  赞:0  阅读:260
SGU[130] CIrcle
Description描述On a circle border there are 2k different points A1, A2, ..., A2k, located contiguously. These points connect k chords so that each of po...
分类:其他   时间:2015-03-07 11:32:58    收藏:0  评论:0  赞:0  阅读:305
TCPIP详解卷1第3章IP网际协议3.2IP首部
分类:其他   时间:2015-03-07 11:32:08    收藏:0  评论:0  赞:0  阅读:487
POJ 3225
基本参考http://blog.csdn.net/metalseed/article/details/8039326总的来说,敲完一遍理解会更加好一点,标记下传法。U:把区间[l,r]覆盖成1I:把[-∞,l)(r,∞]覆盖成0D:把区间[l,r]覆盖成0C:把[-∞,l)(r,∞]覆盖成0 , 且...
分类:其他   时间:2015-03-07 11:31:48    收藏:0  评论:0  赞:0  阅读:271
显示Hadoop文件系统中的路径的文件信息
程序:package com.lcy.hadoop.file;import java.net.URI;import org.apache.hadoop.conf.Configuration;import org.apache.hadoop.fs.FileStatus;import org.apach...
分类:其他   时间:2015-03-07 11:31:18    收藏:0  评论:0  赞:0  阅读:199
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!