自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

wu_yihao的专栏

假苦行僧

  • 博客(431)
  • 资源 (2)
  • 收藏
  • 关注

原创 ————博客永久废止————转到http://1su.net/nsB

由于CSDN博客太难以管理,博主转向Ghost Blog(Node下的b)

2014-07-16 15:53:21 1467 1

转载 WCHAR我不再惧怕了

zhuaWCHAR我不再惧怕了宽字符已经困扰我很久了,以前我都是设置项目的属性把它改为多字节,不用UNICODE。不过现在又遇到宽字节的问题,没有办法,只有硬着头皮学学:我找到的资料:http://hi.baidu.com/shongbee2/blog/item/207925546b6cdd5fd10906e0.htmlhttp://hi.baidu.com/shongbe

2014-07-16 14:00:18 5928

原创 [神经网络]学习笔记

借了两本书,公式推到极其敷衍,根本看不懂,折腾了几天,最后上网找了几篇文章,终于

2014-07-15 01:00:35 920

原创 [MFC]学习笔记

作业题,用单文档视图完成左键

2014-07-14 23:34:53 697

原创 [Node]学习笔记

拜读BYVoid大神的Node.js开发指南。版本有点老。

2014-06-28 00:13:21 711

原创 [项目笔记]媒体播放器

第一次写桌面应用、第一次带团队、第一次

2014-06-28 00:04:58 749

原创 [Spring]梦创俱乐部网站后台开发笔记

写了有几天了,今天开始做记录。

2014-05-26 22:28:02 911

原创 [宽搜]J

DescriptionThe earth is under an attack of a deadly virus. Luckily, prompt actions of the Ministry of Health against this emergency successfully confined the spread of the infection within a squar

2014-05-24 15:36:28 716

原创 [几何]D

DescriptionNumbers of black and white points are placed on a plane. Let's imagine that a straight line of infinite length is drawn on the plane. When the line does not meet any of the points, the

2014-05-24 15:27:45 619

原创 [预处理优化][动态规划]D

Problem D: DTime Limit: 5 Sec  Memory Limit: 128 MBSubmit: 64  Solved: 9[Submit][Status][Web Board]DescriptionThere is a N*M matrix, and each cell of the matrix has an integer number.

2014-04-29 13:02:57 625

原创 [BFS]C

Problem C: CTime Limit: 5 Sec  Memory Limit: 128 MBSubmit: 36  Solved: 5[Submit][Status][Web Board]DescriptionX opened his eyes slowly and found himself in a strange place. He remember

2014-04-29 12:51:17 626

原创 [树状数组]操作数列

Problem E: 操作数列Time Limit: 3 Sec  Memory Limit: 128 MBSubmit: 39  Solved: 10[Submit][Status][Web Board]Description对于一个长度为n(n1 x y c (02 x (0 1 x y c 操作表示,将区间[x,y]中的全部元素都异或c;2 x

2014-04-29 12:44:56 797

原创 [矩阵乘法][最短路]无奈的学长

Problem A: 无奈的学长Time Limit: 1 Sec  Memory Limit: 128 MBSubmit: 26  Solved: 3[Submit][Status][Web Board]Description众所周知,YONG学长是一个有妹子的汉子,可是众所不周知,有妹子的汉子给学弟出一道题做也会经常被打断。“喂,亲爱的,我在A区,你在学院给

2014-04-29 12:18:35 708

原创 [树状数组][离散化]Ultra-QuickSort

Ultra-QuickSortTime Limit: 7000MS Memory Limit: 65536KTotal Submissions: 38472 Accepted: 13874DescriptionIn this problem, you have to analyze a particular sorting a

2014-04-26 17:51:41 602

原创 [二分][hash]最长公共子串

1251: 最长公共子串Time Limit: 5 Sec  Memory Limit: 128 MBSubmit: 76  Solved: 15[Submit][Status][Web Board]Description给定2个字符串,求这两个字符串的最长公共子串。Input第一行一个正整数T对于每组输入数据,有两行字符串(每个字符串的长度小于

2014-04-23 12:13:50 1392

原创 [Hash]变为回文串

1250: 变为回文串Time Limit: 1 Sec  Memory Limit: 128 MBSubmit: 59  Solved: 18[Submit][Status][Web Board]Description我们现在给你一个字符串,我们规定只能在这个字符串的右边添加字符,问最少添加多少字符可以使这个字符串变为回文串?回文串的定义见C题,不再赘述了。。。

2014-04-22 23:15:51 822

原创 [hash][懒标记]记忆数字

感觉挺像可持久化编程的,其实不是。目的并不是要保留历史版本。

2014-04-21 20:38:21 868

原创 [爬虫]Luoo客户端

import urllib.requestimport sysimport timefrom PyQt4 import QtGui,QtCore#Label with pictures which can be clicked and toggledclass HexLabel(QtGui.QLabel): def __init__(self,parent=None):

2014-04-19 18:34:56 1129

原创 [数据结构]K-Max Sum

C.K-MaxSumDescriptionHerethereisaveryclassicalproblem---MaxSum!Let'sreviewtheclasssicalproblem:Givenasequencea[1

2014-04-15 19:55:06 600

原创 [字符串]Very easy

InputThe test start with n which means that there are n cases.The first line of each case gives two number p,q:the threshold and the size of excepted-word set.The next line will give q words t

2014-04-15 19:45:06 1082

原创 Eclipse和Pydev鼓捣笔记

Eclipse的默认安装目录是/usr/lib/eclipse,好奇怪。PyDev要求jdk1.7安装好1.7之后显示版本并没有更新sudo update-alternatives --config java  命令可以修改现在用的软件的版本

2014-03-29 12:50:24 581

原创 linux修复笔记

装豆瓣fm(python版本过老)==> 安装python3.2 ==> 做软链接 python3.2 到/usr/bin/python ==> 缺少PyQt4模块 ==> 安装PyQt==> 安装不了,升级不了,删不了,一堆broken package ==> 检查日志发现很多脚本解释不了 ==> 查到ubuntu底层实现由python2.x,怀疑是python3作怪 ==> 恢复pytho

2014-03-27 15:24:56 551

原创 笔记

临域算法:数据随机分成n组,选一组作测试集,剩下n-1组做训练集.每次实验选择不同的k和相同的随机数种子seed.用n次实验的平均值作为最后的评测指标.防止某次实验的结果是过拟合的结果.基于用户的临域算法优化算法,建立一个倒查表惩罚过于流行的物品,因为冷门物品更能体现出用户相似度基于物品的临域算法同样采用倒查表惩罚过于流行的物品,因为冷门物品之间更能

2014-03-23 16:41:54 487

原创 笔记

C++头文件用#ifndf H_XXX #define H_XXX #endif避免重复包含,#pragma once避免重复编译子类有时候需要在函数最开头写上父类的函数调用(加上父类的域),以完成一些必须的通用的功能.最好用一个stdafx.h之类的文件来包含常用的库,cpp文件就只包含对应的头文件和stdafx.h头文件.如果一个类只希望有一个实例,可以用一个静态的

2014-03-20 21:48:34 633

原创 笔记

Makefile目标(Target),第一个为默认的,:之后的表示依赖的目标.变量可以起到宏的作用编译器 -c 源文件列表.行首有Tab编译器 -o 目标文件列表.行首有Tabmake会自动检查目标的修改时间是否改变.PHONY目标是伪的,不会检查更新目标文件的更新Lua安装make linuxsudo cp lua luac /usr/binsud

2014-03-14 23:56:33 545

原创 [堆][贪心]cf228cFox and Box Accumulation

C. Fox and Box Accumulationtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputFox Ciel has n boxes in her room. They hav

2014-02-24 14:31:00 829

原创 [枚举]cf228b

B. Fox and Crosstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputFox Ciel has a board with n rows and n columns. So,

2014-02-24 14:21:30 699

原创 [暴力]cf229CInna and Candy Boxes

C. Inna and Candy Boxestime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputInna loves sweets very much. She has n closed

2014-02-24 14:16:54 830

原创 [贪心]Rockethon2014bWord Folding

B. Word Foldingtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou will receive 5 points for solving this problem.M

2014-02-24 14:02:50 599

原创 Linux修复笔记

140217在复制文件的时候系统崩溃并且不能进入引导界面。用U盘制作了一个启动盘:UltraISO制作,格式化U盘,添加syslinux引导,选择光盘镜像,制作成功。用启动盘启动。fsck检查硬盘/dev/sda3,发现文件系统错误并且成功修复错误。重启时/tmp出问题,自动修复,再重启成功

2014-02-17 22:19:59 560

原创 [贪心]cf225cMilking cows

C. Milking cowstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputIahub helps his grandfather at the farm. Today he must

2014-02-01 00:51:19 706

原创 [贪心]cf225bMultitasking

B. Multitaskingtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputIahub wants to enhance his multitasking abilities. In

2014-01-31 23:47:37 808

原创 [贪心]cf226bBear and Strings

B. Bear and Stringstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputThe bear has a string s = s1s2...s|s| (record

2014-01-31 23:42:57 675

原创 [数学]cf226cBear and Prime Numbers

C. Bear and Prime Numberstime limit per test2 secondsmemory limit per test512 megabytesinputstandard inputoutputstandard outputRecently, the bear started studying data st

2014-01-31 23:38:47 618

原创 [枚举]cf227b

B. George and Roundtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputGeorge decided to prepare a Codesecrof round, so h

2014-01-31 21:20:16 749

原创 [贪心]CF227C.Geoge and Number

C. George and Numbertime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputGeorge is a cat, so he really likes to play. Most

2014-01-31 21:14:08 630

转载 游戏引擎开发之路

不研究这么深,怎么能成为精英——————————想起写这篇文章是在看侯杰先生的《深入浅出MFC》时,突然觉得自己在大学这几年关于游戏编程方面还算是有些心得,因此写出这篇小文,介绍我眼中的游戏程序员的书单与源代码参考。一则是作为自己今后两年学习目标的备忘录,二来没准对别人也有点参考价值。我的原则是只写自己研究过或准备研究的资料,所以内容无疑会带上强烈的个人喜好色彩,比如对网络,数据库

2014-01-29 23:40:57 1827

原创 Ubuntu12.04折腾笔记

installArchives() failed: (Reading database ... (Reading database ... 5%%(Reading database ... 10%%(Reading database ... 15%%(Reading database ... 20%%(Reading database ... 25%%(Reading da

2014-01-27 01:55:51 690

转载 codeblocks安装补充

just introduce *unix environment install steps and notes;my system environment: ubuntu 12.04download source code of code::blocks from : codeblocks_12.11-1.tar.gz$./bootstrap./bootstrap: 63:

2013-12-21 15:35:16 2584

原创 Codeblocks 12.11安装笔记

SVN下载源代码:svn co svn://svn.berlios.de/codeblocks/trunk codeblocks进入trunk配置configure和依赖关系:./bootstrap失败,找不到wxWidgets .m4,AM_什么宏未定义,临时写入环境变量export ACLOCAL_FLAGS="-I `wx-config -

2013-12-21 12:39:35 901

CodeBlocks7017升级包

在官网上没有给出下载,但是论坛里已经有了。Debugger有较大改动,叫Debugger Branch,比较好用

2012-01-18

cppchecks代码除错插件

一个代码除错的工具,功能强大。安装好了之后,codeblocks可以直接使用。

2012-01-18

空空如也

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

TA关注的人

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