首页 > 其他
hdu 5113 Black And White (dfs回溯+剪枝)
hdu 5113 Black And White (dfs回溯+剪枝)—— black 的专栏 —— waShaXiu...
分类:其他   时间:2015-01-23 23:04:55    收藏:0  评论:0  赞:0  阅读:355
hdu 5115 Dire Wolf(区间DP)
hdu 5115 Dire Wolf(区间DP)—— black 的专栏 —— waShaXiu...
分类:其他   时间:2015-01-23 23:04:45    收藏:0  评论:0  赞:0  阅读:355
break,continue,return的区别
break,continue,return的区别...
分类:其他   时间:2015-01-23 23:04:07    收藏:0  评论:0  赞:0  阅读:368
Qt新渲染底层Scene Graph研究(一)
Qt 5提出了一个新的渲染底层,以替代Qt4时期的Graphics View,这个渲染底层就是Scene Graph。其实这个底层的作用和Open Scene Graph是差不多的,但是由于是不同的团队进行开发的,所以两者没有必然的联系。Scene Graph主要利用OpenGL ( ES )2的渲染优势,在2D和3D以非常流畅的速度进行渲染,满足日益增长的界面效果需求,同时Scene Graph预留了各种各样的接口,满足大家定义显示和渲染效果的需要。...
分类:其他   时间:2015-01-23 23:03:55    收藏:0  评论:0  赞:0  阅读:623
[Telerik]RadDocking第04篇 设置面板的停靠状态IsPinned
此演示展示了设置每个RadPane的IsPinned属性来控制面板是否被钉住,或者缩小到隐藏区域。所谓钉住面板,其实就是将面板固定住,而不是自动缩放到隐藏区域。通过将RadPane.IsPinned设置为True可以将面板固定住,设置为false则不固定面板,将其防止在停靠区域。 相关下载(屏幕录像):http://yunpan.cn/cKK5Irbpb9Lt6 提取码 2b04 在线播放:http://v.youku.com/v_show/id_XODc4MTIyNjg4.html 温馨提示:如果屏幕录像...
分类:其他   时间:2015-01-23 23:03:45    收藏:0  评论:0  赞:0  阅读:463
UVa 213 信息编码!模拟!
背景:一次ac!!而且调试时间也短!!!!看来这个自定义函数,确实是一个好的方法!!构思又清晰,调试又明朗! 思路:一些单一的函数堆砌而成,每个函数有自己的功能。 学习:1.我是采用模拟手算二进制为十进制的方法,而小紫书上给出的方法似乎更简单:(这似乎透露除了字符串数转化普通数的方法)(普通二进制数,转化为十进制数就一位一位的拆分) //assumpt that temp[] have n ...
分类:其他   时间:2015-01-23 23:03:40    收藏:0  评论:0  赞:0  阅读:401
zoj 3471状态压缩DP
#include #include int max(int a,int b) { if(a>b) return a; return b; } int dp[100000],map[15][15],mark[15]; int main() { int i,j,n,m,k; while(scanf("%d",&n)!=EOF&&n) { for(i=1;i<=n;i++) for...
分类:其他   时间:2015-01-23 23:03:39    收藏:0  评论:0  赞:0  阅读:347
二叉搜索树的后序遍历序列
给定一个序列,判断该序列是不是二叉搜索树的后序遍历序列 二叉搜索树定义: 二叉查找树(英语:Binary Search Tree),也称二叉搜索树、有序二叉树(英语:ordered binary tree) ,排序二叉树(英语:sorted binary tree),是指一棵空树或者具有下列性质的二叉树: 1、若任意节点的左子树不空,则左子树上所有结...
分类:其他   时间:2015-01-23 23:03:15    收藏:0  评论:0  赞:0  阅读:430
POJ 1905 Expanding Rods (二分+计算几何+精度处理)
题目地址:POJ 1905 用二分枚举h,然后判断弧长是否符合条件。重点还是在精度问题上,具体看代码吧。。 #include #include #include #include #include #include #include #include #include using namespace std; #define LL __int64 #define pi aco...
分类:其他   时间:2015-01-23 23:03:05    收藏:0  评论:0  赞:0  阅读:324
隐式Intent
隐式Intent不明确指出我们想要启动哪个活动,而是指定了一系列的action、data或category等信息,然后交由系统去分析这个Intent,并帮我们找出合适的活动去启动 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.an...
分类:其他   时间:2015-01-23 23:02:25    收藏:0  评论:0  赞:0  阅读:387
MP3播放器
学习service的典型例子 package com.example.mp3player; import android.app.Service; import android.content.Intent; import android.media.MediaPlayer; import android.os.IBinder; public class MusicService exten...
分类:其他   时间:2015-01-23 23:02:15    收藏:0  评论:0  赞:0  阅读:386
VS2012使用libpng库
1: 下载库源文件 - libpng (available at: http://www.libpng.org/pub/png/libpng.html) - libpng++ (available at: http://www.nongnu.org/pngpp/) 然后下载ZLib:http://www.windows7download.com/win7-zlib/wjkggbgf.ht...
分类:其他   时间:2015-01-23 23:02:05    收藏:0  评论:0  赞:0  阅读:596
2.1.4 Healthy Holsteins 健康的好斯坦奶牛
2.1.4 Healthy Holsteins 健康的好斯坦奶牛 一、题目描述 农民JOHN以拥有世界上最健康的奶牛为傲。他知道每种饲料中所包含的牛所需的最低的维他命量是多少。请你帮助农夫喂养他的牛,以保持它们的健康,使喂给牛的饲料的种数最少。 给出牛所需的最低的维他命量,输出喂给牛需要哪些种类的饲料,且所需的饲料剂量最少。 维他命量以整数表示,每种饲料最多只能对牛使用一次...
分类:其他   时间:2015-01-23 23:01:55    收藏:0  评论:0  赞:0  阅读:361
DG搭建物理备库
搭建过程难免会出现各种错误,所以之前最好做一个备份!!! service iptables stop 关闭防火墙       [root@localhost ~]# setenforce 0 [root@localhost ~]# getenforce Permissive 主库 [root@localhost ~]# su - oracle [oracle@localhos...
分类:其他   时间:2015-01-23 23:01:45    收藏:0  评论:0  赞:0  阅读:390
DG搭建逻辑备库
逻辑备库是在物理备库的基础上搭建的,所以需要先搭建好物理备库。 备库执行如下操作: [oracle@localhost ~]$ sqlplus / as sysdba SQL*Plus: Release 11.2.0.3.0 Production onFri Nov 7 15:03:30 2014 Copyright (c) 1982, 2011, Oracle.  All right...
分类:其他   时间:2015-01-23 23:01:35    收藏:0  评论:0  赞:0  阅读:396
隐式Intent的应用
package com.example.yinshiintent; import android.app.Activity; import android.content.Intent; import android.net.Uri; import android.os.Bundle; import android.view.View; import android.view.View.OnCl...
分类:其他   时间:2015-01-23 23:01:25    收藏:0  评论:0  赞:0  阅读:331
[LeetCode]22.Generate Parentheses
【题目】 Given n pairs of parentheses, write a function to generate all combinations of well-formed parentheses. For example, given n = 3, a solution set is: "((()))", "(()())", "(())()", "()((...
分类:其他   时间:2015-01-23 23:01:15    收藏:0  评论:0  赞:0  阅读:314
设计模式初识
首先声明的是我对设计模式了解比较少,也才是刚刚接触,还有很多不懂的地方,这里写blog只是为了记录下看c++编程思想中的设计模式这一章,以便后续查看。        设计模式是国外4人合编的《Design Patterns》一书,这本书一般也被称为”四人帮”(Gangof  Four, GoF)书。”四人帮”针对问题的特定类型提出了23中解决方案,即23个模式。定义为:每一个模式描述了一个在我们...
分类:其他   时间:2015-01-23 23:00:59    收藏:0  评论:0  赞:0  阅读:317
Virual Recent Service
1. MainActivity.java package com.jianli.virtualrecent; import android.app.Activity; import android.content.Intent; import android.content.SharedPreferences; import android.os.Bundle; public class M...
分类:其他   时间:2015-01-23 23:00:05    收藏:0  评论:0  赞:0  阅读:308
Float Camera Service
1. MainActivity.java package com.jean.lee.floatcamera; import android.annotation.SuppressLint; import android.app.Activity; import android.content.Intent; import android.content.SharedPreferences; i...
分类:其他   时间:2015-01-23 22:59:45    收藏:0  评论:0  赞:0  阅读:534
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!