系统环境是win7(64bit)+python3.4(64bit)+numpy1.82+vs20121.假设用sourceforge上编译好的32bit的exe安装,会提示‘python version ** required,which was not found in the registry’...
分类:
其他好文 时间:
2014-10-14 19:37:15
阅读次数:
268
BZOJ水一道~
枚举前两个位置是否放雷,模拟向下推,可以则ans++
#include "stdio.h"
#include "string.h"
int a[10010],b[10010],n;
int judge()
{
int i;
for (i=3;i<=n;i++)
{
b[i]=a[i-1]-b[i-1]-b[i-2];
...
分类:
其他好文 时间:
2014-10-14 19:01:09
阅读次数:
140
项目中用到了maven构建项目,其中用到了自己打的jar包。当打包时lib目录下的无法打到依赖的jar中,最后通过搜索得知这么玩,纪录一下mvn install:install-file -DgroupId=weibo4j -DartifactId=sina-weibo4j -Dversion=2....
分类:
其他好文 时间:
2014-10-14 18:32:29
阅读次数:
159
今天 工程 中 用到了 libxml2.framwork 这个库 使用中 报错 “'libxml/tree.h' file not found”解决的 办法 是 从网上 谷歌到的 使用后 完美解决办法:Header Search Paths 增加一条 :${SDKROOT}/usr/include/...
分类:
其他好文 时间:
2014-10-14 17:27:58
阅读次数:
181
打开Python的命令行交互窗口,并且在里面进行下面的输入:Python 3.4.1 (v3.4.1:c0e311e010fc, May 18 2014, 10:38:22) [MSC v.1600 32 bit (Intel)] on win32Type "help", "copyright", "credits" or "license" for more information.>>> pr...
分类:
编程语言 时间:
2014-10-14 16:02:58
阅读次数:
258
(1) R语言需要是用ODBC连接mysql数据库。需要编译RODBC报错如下:configure:1747: $? = 2configure:1770: checking for C compiler default output file nameconfigure:1774: $CC -o c...
分类:
编程语言 时间:
2014-10-14 14:53:58
阅读次数:
313
http://stackoverflow.com/questions/19678665/bitmapfactory-decodefile-out-of-memory-with-images-2400x2400 http://stackoverflow.com/questions/15377186/decode-file-from-sdcard-android-to-avoid-out-of-...
分类:
移动开发 时间:
2014-10-14 14:36:18
阅读次数:
134
1.项目右键 打开 >> Properties >> Resource >> Text file encoding >> Other 如图1:图12.Apply >> ok!如图1:
分类:
编程语言 时间:
2014-10-14 14:20:48
阅读次数:
176
本文围绕 .9.png 格式图片讨论以下两个话题:1. 该格式图片的特点2. 制作方式一 .9.png 格式的文件的特点 与传统的png 格式图片相比, 9.png 格式图片在图片四周有一圈一个像素点组成的边沿,该边沿用于对图片的可扩展区和内容显示区进行定义。这种格式的图片在android 环境下具...
分类:
移动开发 时间:
2014-10-14 13:41:58
阅读次数:
171
(1)Thinkphp的默认缓存方式是以File方式,在/Runtime/Temp 下生成了好多缓存文件。服务器装了memcached后想给更改成memecache方式在Conf/config.php 中添加'DATA_CACHE_TYPE' => 'Memcache','MEMCACHE_HOST...
分类:
Web程序 时间:
2014-10-14 12:49:48
阅读次数:
215