自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(4)
  • 资源 (1)
  • 收藏
  • 关注

原创 验证图是否相似

思考图相似的问题,如果一个图和另一个相似但,顶点标注不同,能否判断出来。 思路如下: 用矩阵表示图 1)枚举第二图的顶点的一个排列      a) 通过swap的方法得到第二图的新图     (发现交换顶点,只需要交换相应的行和列就得到新图)      b) 匹配第一图和第二图的新图      c) 相同就完成,否则回到1) 实现如下 package com.pnp.mapsim

2015-01-30 10:41:51 799

原创 编写 Window 下 Python C程序

1)下载 mingw-get-setup.exe 安装需要gcc 等 2)编成C程序 #include class Foo{ public: void bar(){ std::cout << "Hello" << std::endl; } }; extern "C" { Foo* Foo_new(){ re

2015-01-21 13:22:55 662

原创 python code 保密

python 开发效率高,但就是太容易反编译 使用 uncopyle 反编译几乎得到和原代码相同的东西 git clone https://github.com/gstarnberger/uncompyle.git cd uncompyle/ sudo ./setup.py install uncompyler.py thank_goodness_this_still_exist

2015-01-12 11:34:00 3650

原创 ubuntu 升级 12.04 到14.04

运行命令 sudo do-release-update 如果遇到不能update,就强制安装 sudo apt-get -f install 安装后发现kernel没有变,安装kernel sudo apt-get install linux-generic 遇到的问题 1) source.list 中错误源,要打开 /etc/apt/source

2015-01-08 16:38:02 5630

gnu-linker

(ld version 2) ld combines a number of object and archive files, relocates their data and ties up symbol references. Usually the last step in compiling a program is to run ld.

2013-06-25

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除