int 转 CString:CString.Format("%d",int);...............................string 转 CStringCString.format("%s", string.c_str());用c_str()确实比data()要好...........
分类:
其他好文 时间:
2014-07-18 23:25:40
阅读次数:
267
python2.7 python3.2差别还是蛮大的,就想着学习较新的 升级后
结果出现 输入法不显示 update-manager 和 add-apt-repository不能用,android的模拟器也打不开。前面三几个问题直接把python ls到原来的2.7版本就可以直接解决,但是最后的一个问题android模拟器无法打开 折腾了好久才解决,写此以记录
问题如下:fglrxinfo
X Error of failed request: BadRequest (invalid r...
分类:
移动开发 时间:
2014-07-18 23:09:55
阅读次数:
372
UVA - 10895
Matrix Transpose
Time Limit:3000MS
Memory Limit:Unknown
64bit IO Format:%lld & %llu
[Submit] [Go Back] [Status]
Description
A: Matrix Transp...
分类:
其他好文 时间:
2014-07-18 23:00:14
阅读次数:
241
/*
C - 简单dp 例题
Time Limit:1000MS Memory Limit:10000KB 64bit IO Format:%I64d & %I64u
Submit
Status
Description
A subsequence of a given sequence is the given sequence with some elements (poss...
分类:
其他好文 时间:
2014-07-18 22:28:24
阅读次数:
206
/*
B - 简单dp 例题
Time Limit:1000MS Memory Limit:10000KB 64bit IO Format:%I64d & %I64u
Submit
Status
Description
7
3 8
8 1 0
2 7 4 4
4 5 2 6 5
(Figure 1)
Figure 1 shows a nu...
分类:
其他好文 时间:
2014-07-18 22:23:40
阅读次数:
226
/*
D - 简单dp 例题
Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64u
Submit
Status
Description
Given a sequence a[1],a[2],a[3]......a[n], your job is to calculate the max sum ...
分类:
其他好文 时间:
2014-07-18 22:23:25
阅读次数:
231
/*
A - ¼òµ¥dp ÀýÌâ
Time Limit:1000MS Memory Limit:30000KB 64bit IO Format:%I64d & %I64u
Submit
Status
Description
A military contractor for the Department of Defense has just completed a seri...
分类:
其他好文 时间:
2014-07-18 21:37:41
阅读次数:
222
/*
F - 简单dp
Time Limit:1000MS Memory Limit:10000KB 64bit IO Format:%I64d & %I64u
Submit
Status
Description
You want to arrange the window of your flower shop in a most pleasant way. You have...
分类:
其他好文 时间:
2014-07-18 21:31:53
阅读次数:
277
题目描述:猜密码:远程连接,如果猜错密码超过五次,就拒绝访问实现描述:通过查看日志,找到相应ip地址的失败记录,累加次数超过五次的将这个ip地址丢到/etc/hosts.deny文件中,写法是:sshd:ip#!/bin/bashforipin$(cat/var/log/secure|grep"Failedpassword"|awk‘{print$11}..
分类:
其他好文 时间:
2014-07-17 08:54:09
阅读次数:
278
mysql使用过程中经常会遇到的三个故障,在此小结一下。1、MySQl服务无法启动我们在使用mysql的过程中,常会遇到MySQl服务无法启动,具体报错信息:StartingMySQLERROR.TheserverquitwithoutupdatingPIDfile(/[FAILED]l/mysql/)对这样的错误,网上的分析解释有很多,有人分析把ski..
分类:
数据库 时间:
2014-07-17 08:39:50
阅读次数:
290