首页 > 其他
POJ3258-River Hopscotch-二分答案
一条河里有一串石头,给出石头间的间距,让你去掉m个石头,使最短间距最大。 二分答案,对于每一种mid,判断要不要删除这块石头。然后逼近答案。 #include <cstdio> #include <cstring> #include <algorithm> using namespace std;
分类:其他   时间:2016-01-31 21:42:27    收藏:0  评论:0  赞:0  阅读:184
bzoj 2819 Nim(BIT,dfs序,LCA)
2819: Nim Time Limit: 20 Sec Memory Limit: 128 MBSubmit: 1596 Solved: 597[Submit][Status][Discuss] Description 著名游戏设计师vfleaking,最近迷上了Nim。普通的Nim游戏为:两个人
分类:其他   时间:2016-01-31 21:42:14    收藏:0  评论:0  赞:0  阅读:188
“可变的”tuple
来看一个“可变的”tuple: >>> t = ('a', 'b', ['A', 'B']) >>> t[2][0] = 'X' >>> t[2][1] = 'Y' >>> t ('a', 'b', ['X', 'Y']) 这个tuple定义的时候有3个元素,分别是'a','b'和一个list。不是
分类:其他   时间:2016-01-31 21:41:03    收藏:0  评论:0  赞:0  阅读:224
瀑布流布局
0x01 idea https://www.tumblr.com/dashboard
分类:其他   时间:2016-01-31 21:40:54    收藏:0  评论:0  赞:0  阅读:159
console前端代码自动删除QQ空间我的说说
function del() { if(document.querySelector('.app_canvas_frame').contentDocument.querySelector('.del_btn') == null){ var index = document.querySelector...
分类:其他   时间:2016-01-31 21:39:44    收藏:0  评论:0  赞:0  阅读:328
学习OpenBlas
编译 从OpenBlas Home Page 上下载源代码。make, make install 使用 level 1 向量-向量 操作 #include <iostream> #include "cblas.h" #include <vector> int main() { blasint n =
分类:其他   时间:2016-01-31 21:39:15    收藏:0  评论:0  赞:0  阅读:155
ZOJ3640-Help Me Escape
Help Me Escape Time Limit: 2 Seconds Memory Limit: 32768 KB Background If thou doest well, shalt thou not be accepted? and if thou doest not well, sin
分类:其他   时间:2016-01-31 21:37:14    收藏:0  评论:0  赞:0  阅读:345
包含块的分离与显示
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8" /> 5 <title>包含块的显示</title> 6 <style type="text/css"> 7 8 9 #div1{ 10 width: 100px; 11 heig
分类:其他   时间:2016-01-31 21:37:04    收藏:0  评论:0  赞:0  阅读:147
ecshop订单状态对应值详解
ecshop的订单状态都是在ecs_order_info表中的字段里。 订单状态未确认取消确认已付款配货中已发货已收货退货 order_status 0 2 1 1 1 5 5 4 shipping_status 0 0 0 0 3 1 2 0 pay_status 0 0 0 2 2 2 2 0
分类:其他   时间:2016-01-31 21:36:54    收藏:0  评论:0  赞:0  阅读:324
离线安装Ambari
ambari安装包 http://public-repo-1.hortonworks.com/ambari/centos6/ambari-1.7.0-centos6.tar.gz HDP(Hortonworks Data Platform) http://public-repo-1.hortonwo
分类:其他   时间:2016-01-31 21:36:43    收藏:0  评论:0  赞:0  阅读:339
九度[1084]整数拆分
1 #include <iostream> 2 3 using namespace std; 4 5 int dp[1000001]; 6 7 int main() { 8 int n; 9 while (cin >> n) { 10 dp[1] = 1; 11 dp[2] = 2; 12 for
分类:其他   时间:2016-01-31 21:34:44    收藏:0  评论:0  赞:0  阅读:243
向死而生——我修的死亡学分
郝萌主倾心贡献。尊重作者的劳动成果,请勿转载。假设文章对您有所帮助,欢迎给作者捐赠。支持郝萌主。捐赠数额任意,重在心意^_^ 我要捐赠: 点击捐赠Cocos2d-X源代码下载:点我传送游戏官方下载:http://dwz.cn/RwTjl游戏视频预览:http://dwz.cn/RzHHd游戏开发博客
分类:其他   时间:2016-01-31 21:33:14    收藏:0  评论:0  赞:0  阅读:271
序列化SerialVersionUID
Java中的SerialVersionUID - Java译站http://it.deepinmind.com/java/2014/05/25/why-use-serialversionuid-inside-serializable-class-in-java.html Top 10 Java Se
分类:其他   时间:2016-01-31 21:32:03    收藏:0  评论:0  赞:0  阅读:204
如何获取imageView中当前内容的相关信息并比较?
1 public class MainActivity extends Activity implements OnClickListener{ 2 3 private Button button; 4 private EditText editText; 5 private ImageView i
分类:其他   时间:2016-01-31 21:31:54    收藏:0  评论:0  赞:0  阅读:582
SSO
单点登录(Single Sign On),简称为SSO,SSO不仅在企业级开发很常用,在互联网中更是大行其道。随便举几个例子,比如我们登录新浪微博后,再访问新浪首页后,我们发现,已经自动登录了;再比如我们登录CSDN后,可以写博客、逛论坛、下载资源等等。前者是完全跨域的单点登录,下文会讲,后者是共同
分类:其他   时间:2016-01-31 21:31:43    收藏:0  评论:0  赞:0  阅读:226
CodeForces 191C 树链剖分 第4遍
非常无奈,模板重新无奈的打错了。。只是,非常快便找到了。。 题意:给一些边,有一些操作,每次操作,都要在这些边上加上1,求每一个边的边权。。 #include<cstdio> #include<iostream> #include<cstring> #include<algorithm> using
分类:其他   时间:2016-01-31 21:30:43    收藏:0  评论:0  赞:0  阅读:135
时空地图TimeGIS 可编辑ArcGIS的Shape矢量文件的地理信息系统
时空地图 TimeGIS 6.0 是一个地理信息系统软件,它可以显示网络地图,编辑ArcGIS的SHP矢量文件格式,显示NETCDF等栅格文件,管理图层等。 在它的基础上,可以二次开发各种GIS应用,如历史GIS,土地GIS,水利GIS,交通GIS,GPS软件,气象GIS等等。 时空地图 TimeG
分类:其他   时间:2016-01-31 21:30:33    收藏:0  评论:0  赞:0  阅读:954
HDU3341 Lost's revenge(AC自动机+DP)
题目是给一个DNA重新排列使其包含最多的数论基因。 考虑到内存大概就只能这么表示状态: dp[i][A][C][G][T],表示包含各碱基个数为ACGT且当前后缀状态为自动机第i的结点的字符串最多的数论基因数 其中ACGT可以hash成一个整数(a*C*G*T+c*G*T+g*T+T),这样用二维数
分类:其他   时间:2016-01-31 21:30:24    收藏:0  评论:0  赞:0  阅读:151
Construct Binary Tree from Preorder and Inorder Traversal leetcode
Given preorder and inorder traversal of a tree, construct the binary tree. Note:You may assume that duplicates do not exist in the tree. Subscribe to
分类:其他   时间:2016-01-31 21:29:54    收藏:0  评论:0  赞:0  阅读:219
重定向
再谈Redirect(客户端重定向)和Dispatch(服务器端重定向) - Laurence的技术博客 - 博客频道 - CSDN.NEThttp://blog.csdn.net/bluishglc/article/details/7953614 Servlet_JSP服务器端的重定向_百度文库h
分类:其他   时间:2016-01-31 21:29:44    收藏:0  评论:0  赞:0  阅读:203
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!