首页 > 其他
(hdu 7.1.4)Surround the Trees(求图报的周长——计算将所有点都包围起来的最小凸多边形的周长)
题意:Surround the TreesTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 209 Accepted Submission(s): 104 Problem DescriptionThere are a lot of trees in...
分类:其他   时间:2015-03-17 15:50:18    收藏:0  评论:0  赞:0  阅读:275
UVA 1584 Circular Sequence
1584 - Circular Sequence Some DNA sequences exist in circular forms as in the following figure, which shows a circular sequence ``CGAGTCAGCT", that is, the last symbol ``T" in ``CGAGTCAGCT" is conn...
分类:其他   时间:2015-03-17 15:49:18    收藏:0  评论:0  赞:0  阅读:304
[LeetCode]Same Tree
Given two binary trees, write a function to check if they are equal or not. Two binary trees are considered equal if they are structurally identical and the nodes have the same value. 这道题是要判断两棵树是不...
分类:其他   时间:2015-03-17 15:48:59    收藏:0  评论:0  赞:0  阅读:204
You have ettempted to queue to many files.You may select one files.
swfupload 文件上传,解决 文件太多问题。 You have ettempted to queue to many files.You may select one files....
分类:其他   时间:2015-03-17 15:48:48    收藏:0  评论:0  赞:0  阅读:225
switch case is in protected scope解决办法
出现错误:switch case is in protected scope 一半情况下这种写法: switch (XXX) {         case XXX:             XXXX             break;                      default:             break;     } 解决办法...
分类:其他   时间:2015-03-17 15:48:08    收藏:0  评论:0  赞:0  阅读:305
[LeetCode]Remove Duplicates from Sorted Array
Given a sorted array, remove the duplicates in place such that each element appear only once and return the new length. Do not allocate extra space for another array, you must do this in place wit...
分类:其他   时间:2015-03-17 15:47:48    收藏:0  评论:0  赞:0  阅读:273
条件触发和边缘触发 及 epoll 的优点
条件触发: 只要输入缓冲有数据就会一直通知该事件 边缘触发: 输入缓冲收到数据时仅注册1次该事件,即使输入缓冲中还留有数据,也不会再进行注册 水平触发(level-triggered,也被称为条件触发):只要满足条件,就触发一个事件(只要有数据没有被获取,内核就不断通知你) 边缘触发(edge-triggered): 每当状态变化时,触发一个事件 举个读socket的例子,假定经过长时间的沉默后,现...
分类:其他   时间:2015-03-17 15:47:08    收藏:0  评论:0  赞:0  阅读:314
TCP/IP 网络编程(五)
优于 select 的 epoll (I/O 复用)select 速度慢的原因 调用select后针对所有文件描述符的循环 每次调用函数时都需要向该函数传递监视对象信息 select并不是把发生变化的文件描述符单独集中到一起,而是通过观察作为监视对象的fd_set函数的变化,因此不能避免对所有监视对象的循环语句。而且,监视对象变量会发生变化,在调用select函数之前要复制并保存原有信息,并在每次调...
分类:其他   时间:2015-03-17 15:47:02    收藏:0  评论:0  赞:0  阅读:242
【高斯消元】【异或方程组】【bitset】bzoj1923 [Sdoi2010]外星千足虫
Xor方程组解的个数判定:——莫涛《高斯消元解Xor方程组》使用方程个数判定:消去第i个未知数时,都会记录距第i个方程最近的第i位系数不为0の方程是谁,这个的max就是使用方程个数。使用bitset加速。#include#include#include#includeusing namespace ...
分类:其他   时间:2015-03-17 15:44:58    收藏:0  评论:0  赞:0  阅读:362
cocos2d-x3.0 新的物理引擎之详解setCategoryBitmask()、setContactTestBitmask()、setCollisionBit...(转)
时间2014-06-21 20:20:10CSDN博客原文http://blog.csdn.net/u010019717/article/details/32942641转载请注明出处:游戏开发实验室http://blog.csdn.net/u010019717/article/details/32...
分类:其他   时间:2015-03-17 15:43:58    收藏:0  评论:0  赞:0  阅读:344
Genymotion 模拟器 INSTALL_FAILED_NO_MATCHING_ABIS 解决办法
升级Genymotion 后发现INSTALL_FAILED_NO_MATCHING_ABIS 提示安装失败解决办法 去Genymotion 官网下载ARM兼容包 下载地址ARM Translation Installer v1.1Hosted by FILETRIP直接将zip包拖到开启的模拟器点...
分类:其他   时间:2015-03-17 15:43:18    收藏:0  评论:0  赞:1  阅读:11846
将文本 按 分隔符 拆分成临时表(fn_split_text)
/**************************************************************名 称: fn_split_text功能简介: [将文本 按 分隔符 拆分成临时表]参数简介: [@text] 需拆分的文本 返回: 表: subcolst...
分类:其他   时间:2015-03-17 15:42:48    收藏:0  评论:0  赞:0  阅读:259
关于监听与控制设备旋转全解析(UIDeviceOrientationDidChangeNotification)
一类情况: 初始化app的方向,比如只支持横屏或者竖屏。下面举例只支持竖屏的案例在app的属性里面手动设置上面标注了该app支持的方向种类,要是在app里支持Portrait方向,还需要添加以下代码二类情况:上面的代码表明app支持了两个方向,Protrait 和PortraitUpsideDow....
分类:其他   时间:2015-03-17 15:42:28    收藏:0  评论:0  赞:0  阅读:1654
Theano使用教程
为什么要使用Theano?深度学习最好使用一些库,比如Theano。主要是因为反向传播调整参数时,需要求导。链式求导本身没有难处。但是深度学习的神经网络架构设计的比较复杂,层数又多(15层不是梦)。在基本BP网络的三层结构里,链式的长度已经到了5,推导公式已经不忍直视,人工求导显然不是明智的。The...
分类:其他   时间:2015-03-17 15:40:48    收藏:0  评论:0  赞:1  阅读:3914
Recover Binary Search Tree
Recover Binary Search Tree问题:Two elements of a binary search tree (BST) are swapped by mistake.Recover the tree without changing its structure.Note:A ...
分类:其他   时间:2015-03-17 15:40:10    收藏:0  评论:0  赞:0  阅读:241
boost之algorithm/string
boost之algorithm/string详解
分类:其他   时间:2015-03-17 15:39:38    收藏:0  评论:0  赞:0  阅读:298
mp4格式(转帖加修改) 转载
下面的软件下载地址:http://download.csdn.net/source/2607382ftyp:这是一个筐,可以装mdat等其他Box。例:00 00 00 14 66 74 79 70 69 73 6F 6D 00 00 02 00 6D 70 34 31 语义为:ftyp: Maj....
分类:其他   时间:2015-03-17 15:39:28    收藏:0  评论:0  赞:0  阅读:330
erl_0011 erlang 定时器相关
转自:http://blog.chinaunix.net/xmlrpc.php?r=blog/article&uid=20764167&id=44701243.1 ThetimermoduleCreating timers usingerlang:send_after/3anderlang:star...
分类:其他   时间:2015-03-17 15:38:58    收藏:0  评论:0  赞:0  阅读:267
幽默英语片段
1、 A:Are you alone? B:All… All the time. A:Oh,I'm sorry to hear that Stu. B:Can... Can I to be your friend? A:I've got enough.2、 A:But you've got ...
分类:其他   时间:2015-03-17 15:38:38    收藏:0  评论:0  赞:0  阅读:294
[转]Centos IP、DNS设置
1、CentOS 修改DNS修改对应网卡的DNS的配置文件# vi /etc/resolv.conf修改以下内容nameserver 8.8.8.8 #google域名服务器nameserver 8.8.4.4 #google域名服务器2、CentOS 修改网关修改对应网卡的网关的配置文件[root...
分类:其他   时间:2015-03-17 15:38:28    收藏:0  评论:0  赞:0  阅读:205
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!