首页 > 其他
SharpZipLib要支持unicode的文件名称
可以参考以下例子ZipEntry entry = new ZipEntry(file);entry.IsUnicodeText = true;这个方法找了很久,之前用其他帖子说的ZipConstants.DefaultCodePage设定也不起作用
分类:其他   时间:2015-06-02 10:40:56    收藏:0  评论:0  赞:0  阅读:345
完美解决方案:wordpress后台进不去,用户名、密码输入了登陆没有反应
http://mingming4745.blog.163.com/blog/static/173845720119159425890/?suggestedreading——————————————————————————————————————————————————————————————————...
分类:其他   时间:2015-06-02 10:40:26    收藏:0  评论:0  赞:0  阅读:615
Xcode 工程文件打开不出来, cannot be opened because the project file cannot be parsed.
Xcode 工程文件打开不出来, cannot be opened because the project file cannot be parsed.
分类:其他   时间:2015-06-02 10:40:16    收藏:0  评论:0  赞:0  阅读:249
cdoj 93 King's Sanctuary 傻逼几何题
King's SanctuaryTime Limit: 20 SecMemory Limit: 256 MB题目连接http://acm.uestc.edu.cn/#/problem/show/93DescriptionThe king found his adherents were buildi...
分类:其他   时间:2015-06-02 10:40:06    收藏:0  评论:0  赞:0  阅读:231
NPOI的版本查看
从github上clone源代码git clonehttps://github.com/tonyqus/npoi.git下载的版本库中,有一个名为Release Notes.txt的文件,在这个文件中包含了NPOI的release记录。main文件夹中,是项目的源代码。查看源代码编译生成的dll的路...
分类:其他   时间:2015-06-02 10:39:46    收藏:0  评论:0  赞:0  阅读:222
strong、weak、assign何时使用
// strong : 一般对象// weak : UI控件//assign:用于非指针变量。用于基础数据类型(例如NSInteger)和C数据类型(int,float,double,char)另外还有id反正记住:前面不需要加“*”的就用assign吧,weak就是相当于assign实例如下:@p...
分类:其他   时间:2015-06-02 10:39:36    收藏:0  评论:0  赞:0  阅读:386
UPC 2959: Caoshen like math 这就是个水题
http://acm.upc.edu.cn/problem.php?id=2959这就是个水题,之所以要写这个题是感觉很有纪念意义用力看就是盲……23333333333333333这个题就是最小交换几次使数组有序,首先想到的竟然是逆序数但是逆序数是冒泡排序用的,怎么可能最小……!!!!具体题解是:先...
分类:其他   时间:2015-06-02 10:39:26    收藏:0  评论:0  赞:0  阅读:186
Permutation Sequence
The set[1,2,3,…,n]contains a total ofn! unique permutations.By listing and labeling all of the permutations in order,We get the following sequence (ie...
分类:其他   时间:2015-06-02 10:39:16    收藏:0  评论:0  赞:0  阅读:177
性能调优:理解Set Statistics Time输出
原文:性能调优:理解Set Statistics Time输出在性能调优:理解Set Statistics IO输出我们讨论了Set Statistics IO,还有如何帮助我们进行性能调优。这篇文章会讨论下Set Statistics Time,它会告诉我们执行一个查询需要的时间。 我们用一个例子...
分类:其他   时间:2015-06-02 10:37:06    收藏:0  评论:0  赞:0  阅读:127
[转]深入分析ConcurrentHashMap
术语定义术语英文解释哈希算法hash algorithm是一种将任意内容的输入转换成相同长度输出的加密方式,其输出被称为哈希值。哈希表hash table根据设定的哈希函数H(key)和处理冲突方法将一组关键字映象到一个有限的地址区间上,并以关键字在地址区间中的象作为记录在表中的存储位置,这种表称为...
分类:其他   时间:2015-06-02 10:36:56    收藏:0  评论:0  赞:0  阅读:309
Summary Day27
1.  课程简介 1.1 课程阶段简介 1.2 Unix/linux系统下的高级c编程 2. Unix/Linux系统简介 1.1 Unix系统简介 1.2 Linux 系统的简介 3. gcc的基本使用 2.1 基本概念 原名叫做GNU C Compiler(GNU C 编程语言编译器),只是用于编译C语言,后来做一些扩展, 支持C++\OC等语言的编译,因此改...
分类:其他   时间:2015-06-02 09:31:56    收藏:0  评论:0  赞:0  阅读:258
autotools的基本使用
autotools是个系列工具,主要由autoconf、automake、perl语言环境和m4等组成,所包含的命令有5个: 下图是autotools使用的流程图: autotools的安装:apt-get install autoconf automake autotools-dev m4 autotools使用简单实例如下: 准备程序源代码mkdir...
分类:其他   时间:2015-06-02 09:31:46    收藏:0  评论:0  赞:0  阅读:331
第十二周 阅读项目 (5)
阅读下面类的定义,请说出在测试函数中不同情况的调用产生的结果 [cpp] view plaincopyprint? #include    using namespace std;   class A   {   protected:       int a,b;   public:       A(int aa, int bb):a(aa...
分类:其他   时间:2015-06-02 09:31:40    收藏:0  评论:0  赞:0  阅读:128
hdu 5248 序列变换【二分】
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=5248 分析:这道题是2015百度之星初赛1的3题 当时队友做的,后来也做了一下,可以用二分来做,另外还有一点小贪心, 因为题目数据范围不超过10^6,那么x=二分[0,10^6],使序列里的每一个数变化范围 值为x,求使序列变为升序的最小x值 另外贪心就是,我每一个数尽量X[i]变为X[i-...
分类:其他   时间:2015-06-02 09:31:26    收藏:0  评论:0  赞:0  阅读:214
mulitset,mulitmap
multiset 的意思是多重集合,和集合set的操作基本一致,只不过multiset支持插入重复的对象。在集合中允许重复的元素出现。头文件依旧还是#include multimap的意思是多重映照容器,和map的操作基本一致,类似的multimap支持插入相同的键值。头文件和map的头文件一样。 下面是学校OJ的一个关于multimap的简单使用的题,只有插入和删除: #include #...
分类:其他   时间:2015-06-02 09:31:06    收藏:0  评论:0  赞:0  阅读:224
Project Euler:Problem 22 Names scores
Using names.txt (right click and 'Save Link/Target As...'), a 46K text file containing over five-thousand first names, begin by sorting it into alphabetical order. Then working out the alphabetical ...
分类:其他   时间:2015-06-02 09:30:16    收藏:0  评论:0  赞:0  阅读:149
CodeForces 128D Numbers(贪心?)
题意:  就是给你n个正整数数(3 表示也不知道解法的正确性如何 ,  YY了一下 题解: 就是拿出n 个数里面最大的,  然后往小了选, 如果接下来需要的小1的没有了,就跳到比这个数大1 的 ,  跑到末尾之后,  看看最后一个是否和第一个相差1 ,  感觉这么做能过。。。 代码: #include #include #include #include using na...
分类:其他   时间:2015-06-02 09:30:06    收藏:0  评论:0  赞:0  阅读:79
Codeforces D. Giving Awards 412(DFS)
题意:  给出n  , m   然后给出m组关系,  表示前者不能出现在后者的前方,  即 a  b  不行 但是  b a 是可以的 然后构建出一个序列  满足所有关系。  题解: 由题可知  ,  需要满足关系,  直接构图,  然后DFS  ,  然后反向输出答案  然后没了。 代码: #include #include #include #include using n...
分类:其他   时间:2015-06-02 09:29:56    收藏:0  评论:0  赞:0  阅读:106
HDU - 2855 Fibonacci Check-up 矩阵快速幂
题目大意: F函数是fibonacci函数,F(0) = 0,F(1) = 1解题思路:这题我也不会推,打表可以得到结论。。。 G(n) = 3 * G(n-1) - G(n-2),G函数表示 这题要注意最后求得的可能是负数,所以最后要处理一下#include typedef long long ll; const int N = 2; struct Matrix {...
分类:其他   时间:2015-06-02 09:29:46    收藏:0  评论:0  赞:0  阅读:224
UVA - 12470 Tribonacci 矩阵快速幂
题目大意:fibonacci的升级版,规则是f(n) = f(n-1) + f(n-2) + f(n-3)解题思路:水题#include typedef long long ll; const int N = 3; const ll mod = 1e9 + 9;struct Matrix{ ll mat[N][N]; }A, B, tmp; ll n;void init(){...
分类:其他   时间:2015-06-02 09:29:36    收藏:0  评论:0  赞:0  阅读:212
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!