码迷,mamicode.com
首页 >  
搜索关键字:unit 8练习    ( 4539个结果
poj2195--Going Home(最小费用最大流)
Going Home Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 17975   Accepted: 9155 Description On a grid map there are n little men and n houses. In each unit t...
分类:其他好文   时间:2014-08-20 21:11:23    阅读次数:367
Project Euler 26 计算小数位循环的位数
A unit fraction contains 1 in the numerator. The decimal representation of the unit fractions with denominators 2 to 10 are given: 1/2 =  0.5 1/3 =  0.(3) 1/4 =  0.25 1/5...
分类:其他好文   时间:2014-08-20 16:25:32    阅读次数:157
IOS Unit test
转自:http://blog.csdn.net/jymn_chen/article/details/21552941断言测试下面一共18个断言(SDK中也是18个,其含义转自ios UnitTest 学习笔记,真心佩服原文的博主,部分宏小弟已经测试过):XCTFail(format…) 生成一个失败...
分类:移动开发   时间:2014-08-19 18:48:05    阅读次数:317
微机原理与接口(1)——基础知识
微机的基本构成: 硬件设备: 由运算器、控制器、存储器、输入、输出设备; 软件 : 系统软件、程序设计语言、应用软件;CPU:整个计算机硬件的控制指挥中心。 构成: 运算:算术逻辑单元(Arithmetic Logic Unit,ALU)、Acc(Accumulator)累加器、状态寄存器(F...
分类:其他好文   时间:2014-08-19 18:19:18    阅读次数:250
判断周围是否有敌人的三种模式
只攻击正前方的单位,向前发射一条射线,攻击碰到的单位RaycastHit hit;//range 射线的长度,即攻击范围,maskTarget敌方单位的mask,只攻击敌方单位if(Physics.Raycast(unit.thisT.position, unit.thisT.forward, ou...
分类:其他好文   时间:2014-08-17 11:39:02    阅读次数:218
UVA - 12295 Optimal Symmetric Paths (递推)
Description   Optimal Symmetric Paths  You have a grid of n rows and n columns. Each of the unit squares contains a non-zero digit. You walk from the top-left square to the b...
分类:其他好文   时间:2014-08-16 12:36:50    阅读次数:332
uva 532 - Dungeon Master
Dungeon MasterYou are trapped in a 3D dungeon and need to find the quickest way out! The dungeon is composed of unit cubes which may or may not be fi....
分类:其他好文   时间:2014-08-15 14:23:28    阅读次数:220
hdu3339 In Action(Dijkstra+01背包)
1 /* 2 题意:有 n 个站点(编号1...n),每一个站点都有一个能量值,为了不让这些能量值连接起来,要用 3 坦克占领这个站点!已知站点的 之间的距离,每个坦克从0点出发到某一个站点,1 unit distance costs 1 unit oil! 4 最后占...
分类:其他好文   时间:2014-08-14 23:04:16    阅读次数:388
换个角度说工作单元(Unit Of Work):创建、持有与API调用
看到一些工作单元的介绍,总觉得非常的学院。对于我来说,要想将工作单元引入到自己的项目中去,急需要解决的一个问题是:工作单元的生命周期,即:1:工作单元被谁创建,何时消亡?2:工作单元被谁们持有?3:工作单元的 4 个 API( MakeNew、MakeDirty、MakeRemoved、Commit...
分类:Windows程序   时间:2014-08-14 10:41:48    阅读次数:534
3.集合--BlockingQueue总结1
一、概述: BlockingQueue作为线程容器,可以为线程同步提供有力的保障。 二、BlockingQueue定义的常用方法 1.BlockingQueue定义的常用方法如下:   抛出异常 特殊值 阻塞 超时 插入 add(e) offer(e) put(e) offer(e, time, unit) 移...
分类:其他好文   时间:2014-08-13 13:10:56    阅读次数:388
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!