08年区域赛北京赛区 http://poj.org/searchproblem?field=source&key=Beijing+2008POJ 3921 Destroying the bus stations题目还是比较难的,当时的榜似乎只有4/25的通过/提交,其实题目数据很水。学长转换模型写....
分类:
其他好文 时间:
2014-07-27 23:14:39
阅读次数:
351
【Vertex Lit】 Vertex Lit path generally renders each object in one pass, with lighting from all lights calculated at object vertices. It's the fastes.....
分类:
其他好文 时间:
2014-07-26 17:06:21
阅读次数:
202
上海实验室一路高歌猛进,RS5.0、华为HCIE、SPCCIE这都不是事儿
分类:
其他好文 时间:
2014-07-26 03:07:47
阅读次数:
144
hdu2485:http://acm.hdu.edu.cn/showproblem.php?pid=2485题意:给你一个图,让你删除其中的一些点,然后使得1到n的最小距离大于k,求删除的最小的点数。题解:DFS枚举最短路径上的点。 1 #include 2 #include 3 #include ...
分类:
其他好文 时间:
2014-07-25 14:18:11
阅读次数:
211
解题报告
对于给定的数组,取对数组中的一段进行翻转,问翻转后是否是递增有序的。
思路:
只要找到最初递减的区域,记录区域内最大和最小的值,和区间位置。
然后把最大值与区间的下一个元素对比,最小值与区间上一个元素对比。
这样还不够,可能会出现两个或两个以上的递减区间,这种情况直接pass,因为只能翻转一次。
#include
#include
#include
#define in...
分类:
其他好文 时间:
2014-07-25 11:17:31
阅读次数:
303
1. 用sys as sysdba方式连接数据库进行exp/imp windows 环境: exp 'sys/password@tnsname as sysdba' file=exp.dmp log=exp.log #注意这里是单引号 unix和linux环境 exp \'sys/pass...
分类:
数据库 时间:
2014-07-25 02:21:14
阅读次数:
485
题目:Reverse a linked list from position m to n. Do it in-place and in one-pass.For example:Given 1->2->3->4->5->NULL, m = 2 and n = 4,return 1->4->3->....
分类:
编程语言 时间:
2014-07-24 09:49:43
阅读次数:
204
【Pass】 The Pass block causes the geometry of an object to be rendered once.[Syntax] Pass{[Name and Tags] [RenderSetup] [TextureSetup]} The basic pa...
分类:
其他好文 时间:
2014-07-23 20:39:35
阅读次数:
224
Two passes: all pointer linking info will be recorded in 1st pass - to hashmap; 2nd pass recover the pointer relationship from hashmap.1A!class Soluti...
分类:
其他好文 时间:
2014-07-23 14:59:26
阅读次数:
209
CAN bus的移植 一、首先要阅读相关的文档了解can bus协议; 二、驱动移植,内核中一般是自带相关的can驱动,如果没有可以自行加入; 三、测试,首先下载can bus套件:$git clone https://git.gitorious.org/linux-can/can-utils.gitfulinux ~$cd can-utilsfulinux ~$ls**** candump.c...
分类:
其他好文 时间:
2014-07-23 13:09:16
阅读次数:
352