我住包子山

this->blog.MoveTo("blog.baozishan.in")

#

test

f74cda72

posted @ 2007-11-10 18:21 Gohan 阅读(145) | 评论 (0)编辑 收藏

dd的DP题目出的真的不错

晚上看到题目,只有第一道取石子博弈有思路,写的程序能过8/10,剩下两个因为误用STL中的binary_search()导致19999,20000两个数据WA,
binary_search()遇到查询值超出有序数组范围的情况好像会返回true,真的不应该偷懒乱用,一个教训
剩下的好好学吧

posted @ 2007-11-09 22:48 Gohan 阅读(250) | 评论 (0)编辑 收藏

西交大warmup contest

希望找到好的状态,好好发挥...觉完了再睡...

posted @ 2007-10-20 03:53 Gohan 阅读(292) | 评论 (0)编辑 收藏

长假需要流一点字

那本old new thing 大概看了一大半,火车上站着或者坐着时候看得.
第一次跨过秦岭,气候还是能适应的
长沙感觉还是不错,堕落街好像改成了精神文明街,吃的东西原来没有想象中的辣,城市不大,晚上也挺热闹...玩的地儿没去多少,觉得长沙海底世界性价比不太行,水中行走的那个球倒是第一次亲见..
马王堆埋的女人似乎是个丞相的老婆,好像央视以此拍了个剧,不怎么清楚,还是觉得有点儿神秘...
去看毛爷爷故居,那些故事不知道是真的是假的..邪门..
玩完了,新的开始...

posted @ 2007-10-08 21:52 Gohan 阅读(236) | 评论 (1)编辑 收藏

十一到了

今天早上参加了南航的acm赛区选拔赛,我们队叫just kids,我们队做了3道题目,tbk功劳最高,贡献两大道题目的算法程序,本人比较菜,只是改写了一个高精度除法,嘿嘿,如果没有意外的话我们应该能够去南京游玩参观一下...
明天去长沙找我的好兄弟玩,火车,站票,准备尝试以下站票的滋味...
今天拿到了<the old new thing>windows编程启示录(中文名),拿去车上看吧
祝各位看官十一快乐~~

posted @ 2007-09-29 22:02 Gohan 阅读(203) | 评论 (0)编辑 收藏

error PRJ0002 不用重装的解决方法

上周帮北邮同学写了个MFC小学期制作,事情告一段落,今天他问我一些具体细节,我给他演示时候第一次打开vs2005没有响应,重新打开发现编译就出现了这个尴尬的错误
今天遇到一个尴尬问题:error PRJ0002,cl.exe 在命令行也无法正常运转,解决方法
Ronan THOMAS:  disinstalled windows update patch KB925902
我卸了KB925902,ok了
如果不行估计还是要reinstall vs2005...

posted @ 2007-09-13 18:55 Gohan 阅读(5592) | 评论 (3)编辑 收藏

fontpipeline

haha, I just finished up my pong game and I ran into same problem (I hope the XNA team does work on making fonts better).

 If you load up the Sample Font's project and then select the \Content\TrueTypeFont.xml file and look at it's properties, you'll see the Content Importer and Content Processor's set.    In your project, you'll need to do the following:

  1. Right click on your project and select properties.
  2. Select the Content Pipeline
  3. Select Add
  4. Browse to your FontPipeline\bin\debug folder (or wherever you have the fontpipeline compiled)
  5. Select Open on the FontPipeline.dll.

Then on the properties of the TrueTypeFont.xml file in your project

  1. Set the XNA Framework Content to True.
  2. Set the Content Importer to XML Content - XNA Framework.
  3. Set the Content Processor to TrueTypeFontProcessor.

I did this by memory so just let me know if that doesn't do the trick and I'll dig through my project.

HTHs!

http://forums.xna.com/thread/4778.aspx

关于XML格式的TrueTypeFont的疑问就这么解决了

posted @ 2007-08-26 20:27 Gohan 阅读(219) | 评论 (0)编辑 收藏

快开学了

堕落两周
打了仙剑4,现下准备学习MFC+ATL
闲了来这写学习报告

posted @ 2007-08-15 00:51 Gohan 阅读(162) | 评论 (0)编辑 收藏

wakeup

今天做北大一道叫smart sister的题,很郁闷,构造的方法我想出来了,可是我用set+vector做速度不行而且提交居然还是output limit...
用一个巧妙的方法摒弃那些高级容器才通过...
晚上去影院看了 男儿本色,港产片我都很喜欢,男角演技都不错...尤其喜欢最后谢幕曲,刚开奏时候就想笑..

posted @ 2007-08-01 00:05 Gohan 阅读(289) | 评论 (2)编辑 收藏

zju1942解题报告

     摘要: 这道题我用了Kruscal+并查集算的之前并查集用的不对,所以一直WA并查集代码来自我的那本写数据结构与算法分析c++版 knuth的徒孙的网站 #include <cstdio>#include <vector>#include <cmath>#include <algorithm>using n...  阅读全文

posted @ 2007-07-28 21:04 Gohan 阅读(428) | 评论 (0)编辑 收藏

仅列出标题
共16页: First 8 9 10 11 12 13 14 15 16