题意:求'X'围成的周长
思路:按理说每增加一个就是周长加4,但是要减去重复的地方,这里我是用BFS做的,如果是BFS的模板思路的话是不行的,应该要先取出再标记
#include
#include
#include
#include
#include
using namespace std;
const int MAXN = 30;
struct node {
int x,y;
...
分类:
其他好文 时间:
2014-06-05 06:23:39
阅读次数:
221
题目如下;
Quadtrees
A quadtree is a representation format used to encode images. The fundamental ideabehind the quadtree is that any image can be split into four quadrants. Each...
分类:
其他好文 时间:
2014-06-05 04:20:06
阅读次数:
226
This note summarizes articles from other places
about Microsoft Windows images for OpenStack creation, along with some first
hand experience. The whol...
已知一副RGB图像中的的像素值,利用matlab将其分割出来并以二进制图像形式显示:
%extract.m
clear all;
I=imread('new_original.png');
figure,imshow(I),title('Original Image');
bw=im2bw(I,0.3);
%figure,imshow(bw),title('Gray Image');
rgb=[...
分类:
其他好文 时间:
2014-06-03 02:46:26
阅读次数:
989
界面效果
应用的权限
布局文件
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
andr...
分类:
移动开发 时间:
2014-06-03 00:45:02
阅读次数:
303
闲来无事、想搭个框架试试
分析一般应用 将资料整理整理
粗略统计 需要以下资料
android-pulltorefresh SlidingMenu AndroidWheel Android Wheel
Android-Universal-Image-Loade android-async-http...
分类:
移动开发 时间:
2014-06-01 10:00:00
阅读次数:
330
创建仓库 新建普通仓库: jxdong@ubuntu-server:~/workspace/git$ git init
Reinitialized existing Git repository in /home/jxdong/workspace/git/.git/
新建 bare 仓库:
jxdong@ubuntu-server:~/workspace/git.git...
分类:
其他好文 时间:
2014-06-01 09:38:36
阅读次数:
269
About Core ImageCore Image is an image
processing and analysis technology designed to provide near real-time processing
forstill and video images. It ...
分类:
其他好文 时间:
2014-05-31 18:22:41
阅读次数:
289
1.
内存管理基础知识http://www.cnblogs.com/xingfuzzhd/p/3485924.html 1.
mImageView.setImageResource(R.drawable.my_image); 这段代码会调用
BitmapFactory.decodeStream() ...
分类:
移动开发 时间:
2014-05-31 03:00:44
阅读次数:
394
按步骤介绍 Red Hat linux 如何增加swap空间 方法/步骤
第一步:确保系统中有足够的空间来用做swap交换空间,我使用的是KVM,准备在一个独立的文件系统中添加一个swap交换文件,在/opt/image中添加2G的swap交换文件
第二步:添加交换文件并设置其大小为2G,使用如下命...
分类:
系统相关 时间:
2014-05-31 01:39:25
阅读次数:
458