首页 > 其他
75. Sort Colors
这道题磨磨唧唧好久 维持两个pointer,一个指向最后一个0的下一位,一个指向最后一个1的下一位,然后如果碰到0,就把两个指针一起往后移一格,如果是1,就把指向1那个指针往后移一格。 代码+思路依旧来自code ganker大神 ref:http://blog.csdn.net/linhuanma ...
分类:其他   时间:2016-03-31 07:07:56    收藏:0  评论:0  赞:0  阅读:234
77. Combinations
是我熟悉的backtracking,但是依旧犯了蠢错误,调了半天 不过尝试了一种:如果不能有重复数字数字的时候,就在主函数里面设一个boolean数字,名字是used,意义如名字显示,当做一个参数传给helper函数 蠢错误在17行,helper(res, item, n, k, i+1)最后一个参 ...
分类:其他   时间:2016-03-31 07:07:46    收藏:0  评论:0  赞:0  阅读:237
RPD Volume 168 Issue 4 March 2016 评论7-end
Shielding activation of petawatt laser facilities in Romania: a FLUKA preliminary evaluation Abstract The FLUKA 2011.2c code was used to evaluate the ...
分类:其他   时间:2016-03-31 07:06:06    收藏:0  评论:0  赞:0  阅读:139
RPD Volume 168 Issue 4 March 2016 评论2
Influence of the phantom shape (slab, cylinder or Alderson) on the performance of an Hp(3) eye dosemeter Abstract In the past, the operational quantit ...
分类:其他   时间:2016-03-31 07:05:19    收藏:0  评论:0  赞:0  阅读:204
UVa 536 Tree Recovery | GOJ 1077 Post-order (习题 6-3)
传送门1: https://uva.onlinejudge.org/external/5/536.pdf 传送门2: http://acm.gdufe.edu.cn/Problem/read/id/1077 题意一样 输入不一样 HINT: 1. Preorder : (root, left sub ...
分类:其他   时间:2016-03-31 07:05:06    收藏:0  评论:0  赞:0  阅读:196
RPD Volume 168 Issue 4 March 2016 评论5
Monte Carlo simulation of secondary radiation exposure from high-energy photon therapy using an anthropomorphic phantom Abstract The development of in ...
分类:其他   时间:2016-03-31 07:04:30    收藏:0  评论:0  赞:0  阅读:188
RPD Volume 168 Issue 4 March 2016 评论1
GEANT4 calculations of neutron dose in radiation protection using a homogeneous phantom and a Chinese hybrid male phantom Abstract The purpose of this ...
分类:其他   时间:2016-03-31 07:04:16    收藏:0  评论:0  赞:0  阅读:254
RPD Volume 168 Issue 4 March 2016 评论6
Natural variation of ambient dose rate in the air of Izu-Oshima Island after the Fukushima Daiichi Nuclear Power Plant accident Abstract The ambient d ...
分类:其他   时间:2016-03-31 07:04:06    收藏:0  评论:0  赞:0  阅读:179
MIT 6.828 JOS学习笔记16. Lab 2.2
Part 3 Kernel Address Space JOS把32位线性地址虚拟空间划分成两个部分。其中用户环境(进程运行环境)通常占据低地址的那部分,叫用户地址空间。而操作系统内核总是占据高地址的部分,叫内核地址空间。这两个部分的分界线是定义在memlayout.h文件中的一个宏 ULIM。JO ...
分类:其他   时间:2016-03-31 07:03:47    收藏:0  评论:0  赞:0  阅读:301
RPD Volume 168 Issue 4 March 2016 评论4
Non-vascular interventional procedures: effective dose to patient and equivalent dose to abdominal organs by means of DICOM images and Monte Carlo sim ...
分类:其他   时间:2016-03-31 07:03:38    收藏:0  评论:0  赞:0  阅读:252
RPD Volume 168 Issue 4 March 2016 评论3
Design and fabrication of a multipurpose thyroid phantom for medical dosimetry and calibration Abstract A multipurpose anthropomorphic neck phantom wa ...
分类:其他   时间:2016-03-31 07:03:28    收藏:0  评论:0  赞:0  阅读:157
LeetCode Count Primes
Description: Count the number of prime numbers less than a non-negative number, n. Credits:Special thanks to @mithmatt for adding this problem and cre ...
分类:其他   时间:2016-03-31 07:02:56    收藏:0  评论:0  赞:0  阅读:222
学习进度表
学习进度表 ...
分类:其他   时间:2016-03-31 07:02:46    收藏:0  评论:0  赞:0  阅读:126
模板和泛型编程
第一次看,看第一节即可 1.我们可以为函数定义一个模板,而不是为每一个类型定义一个函数。 比较函数: #include <iostream> template <typename T> int compare(const T&v1, const T&v2) { if(v1 < v2) return  ...
分类:其他   时间:2016-03-31 07:02:26    收藏:0  评论:0  赞:0  阅读:258
软件测试(四)主路径覆盖hw3
原题中代码 控制流图 b:数组越界即可,当MAXPRIMES == 4时,n=5会引发越界 c: n= 1时,不满足numPrimes<n,所以指向12 d: 点覆盖{1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16} 边覆盖{(1,2),(2,3),(2,12),(3, ...
分类:其他   时间:2016-03-31 07:02:06    收藏:0  评论:0  赞:0  阅读:245
《TCP/IP详解 卷1:协议》读书笔记(第一章 概述 & 第二章 链路层)
第一章 概述 链路层(数据链路层、网络接口层)设备驱动程序和网络接口卡。 网络层(互联网层)处理分组在网络中的活动,点对点服务。IP、ICMP、IGMP 运输层提供端对端通信。TCP、UDP 应用层处理应用程序细节。Telnet、FTP、SMTP、SNMP 构造互联网最简单的方法是把两个或多个网络通 ...
分类:其他   时间:2016-03-31 07:01:56    收藏:0  评论:0  赞:0  阅读:149
《Invert》开发日志00:缘起
按照所有程序员的惯例,编号从0开始。本系列日志将记录一款独立游戏 发起->构思->设计->实现->完善->测试(如果需要)->上线->后期维护(如果有人玩) 的整个过程,分享一些经验、一些教训,舒展一些心情、一些人生。由于本人是在职开发人员,这件事情大半是业余的放松和消遣,所以时间预计会拖得很长,至 ...
分类:其他   时间:2016-03-31 07:01:26    收藏:0  评论:0  赞:0  阅读:89
基于zookeeper的主备切换方法
zookeeper的ZOO_EPHEMERAL节点(如果ZOO_EPHEMERAL满足不了需求,可以考虑和ZOO_SEQUENCE结合使用),在会话关闭或过期时,会自动删除,利用这一特性可以实现两个或多节点...
分类:其他   时间:2016-03-31 02:29:31    收藏:0  评论:0  赞:0  阅读:421
记第一次lua和C互相调用的例子
(以下的内容参考别人的例子,特此声明)在写程序之前,需要安装lua的环境在终端输入命令:点击(此处)折叠或打开sudo apt-get install lua5.1sudo apt-get install lua5.1-0-...
分类:其他   时间:2016-03-31 02:29:07    收藏:0  评论:0  赞:0  阅读:315
Activiti(新手)工作流对用户任务签收办理操作
首先是我们已经对Activiti流程的开启有了了解之后,在进行下文 流程中用到最多的就是用户任务了,包括谁办理,什么时候办理,办理结果是什么,办理历史等等 ? 下文先介绍下用户任务的办理相关操作 ? 用户任务分类: 分为4中状态:未签收/待办理、已签收/办理中、运行中/办理中、已完成/已办结 ? 首先,我们要了解下 TaskService 这个服务的作用: 1、查询分配给用户或 ...
分类:其他   时间:2016-03-31 02:24:56    收藏:0  评论:0  赞:0  阅读:926
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!