-----------------------------------------------
Blogger Template Style
Name: Abrasive
Designer: Klodian
URL: www.deluxetemplates.net
Date: Jun 2009
-----------------------------------------------
之前那个模板纠结了我很久了,这个模板我也在很早以前就相中了。
不过由于一直比较忙,再加上这里也没有什么人来看,懒得换。
这么长一段时间的闲置,引来了欧洲、日本两股广告投放势力各显其能。
由于blogger的评论删除功能实在是让人难受
点开文章→点评论→在另一个URL列出评→点删除图标→在另一个URL确认→得到一个连接→回到文章
以上一个循环下来我实际上才删除了一条评论。
无奈之下,选择了评论审核与邮件通知功能。
最近?
最近几个月来都非常忙!不过终于迎来了黎明前的黑暗。
最近在编程方面什么也没有研究,什么都没有自学。
正打算考NCRE,不过这周内的这次报名不打算参加。
因为还什么都没有学,凭着我这糟糕的基础怕是考不下来。
最近喜欢用效果器虐待红警3上的电脑。
最近把电脑换了Windows 7,配上了水树奈奈的萌音。
ACG?
动画看了不少,有得说的也不少,就是懒得写。
生活方面倒是有的是事情想写,不过记录生活不是这个blog负责的事。
终
2009年12月13日 星期日
2009年9月12日 星期六
化物语 第十话OP「千石撫子-恋愛サーキュレーション」
歌詞:
せーの
でも そんなんじゃ だーめ
もう そんなんじゃ ほーら
心は進化するよ もーっと もーっと
言葉にすれば 消えちゃう関係 なら
言葉を消せばいいやって 思ってた? 恐れてた?
だけど あれ? なんか 違うかも
千里の道も一歩から 石のように硬いそんな意志で
塵も積もれば やまとなでしこ? し抜きで いや 死ぬ気で
ふわふわり ふわふわる あなたが 名前を呼ぶ それだけで宙へ浮かぶ
ふわふわる ふわふわり あなたが笑っている それだけで笑顔になる
神様 ありがとう 運命の悪戯でも
めぐり合えたことが 幸せなの
でも そんなんじゃ だーめ
もう そんなんじゃ ほーら
心は進化するよ もーっと もーっと
そう そんなんじゃ いやーだ
ねぇ そんなんじゃ まーだ
わたしのこと見ていて ずーっと ずーっと
高清MP4及截取版MP3下载:
http://www.jsharer.com/blog/282322.htm
资源引用页:http://bbs.levelup.cn/showtopic-864055.aspx
2009年8月15日 星期六
2009年8月11日 星期二
枚举质数 Enum prime numbers in C++
http://projecteuler.net/index.php?section=problems&id=7
以下代码将枚举10001个质数,耗时16ms
Example for enum 10001 prime numbers in 16ms.
int res[10001],Pos1=2;
res[0]=2;
res[1]=3;
res[2]=5;
for (int Enum=5;Pos1<10001;Enum++)
{
BOOL wanted=1;
for (int Pos2=0;res[Pos2]<=sqrt(Enum);Pos2++)
{
if (!(Enum%res[Pos2]))
{
wanted=0;
break;
}
}
if (wanted)
{
res[Pos1]=Enum;
Pos1++;
}
}
printf("%i",res[10000]);
以下代码将枚举10001个质数,耗时16ms
Example for enum 10001 prime numbers in 16ms.
int res[10001],Pos1=2;
res[0]=2;
res[1]=3;
res[2]=5;
for (int Enum=5;Pos1<10001;Enum++)
{
BOOL wanted=1;
for (int Pos2=0;res[Pos2]<=sqrt(Enum);Pos2++)
{
if (!(Enum%res[Pos2]))
{
wanted=0;
break;
}
}
if (wanted)
{
res[Pos1]=Enum;
Pos1++;
}
}
printf("%i",res[10000]);
2009年7月29日 星期三
Note:Object type number of process under vista & object type numbers
' Windows NT 4 Window 2000 Window XP
' ----------------- ------------------- -------------------
' 1 - Type 1 - Type 1 - (Type)
' 2 - Directory 2 - Directory 2 - Directory
' 3 - SymbolicLink 3 - SymbolicLink 3 - SymbolicLink
' 4 - Token 4 - Token 4 - Token
' 5 - Process 5 - Process 5 - Process
' 6 - Thread 6 - Thread 6 - Thread
' 7 - Event 7 - Job 7 - Job
' 8 - EventPair 8 - Event 8 - ((DebugObject))
' 9 - Mutant 9 - EventPair 9 - Event
' 10 - Semaphore 10 - Mutant 10 - (EventPair)
' 11 - Timer 11 - Callback 11 - Mutant
' 12 - Profile 12 - Semaphore 12 - (Callback)
' 13 - WindowStation 13 - Timer 13 - Semaphore
' 14 - Desktop 14 - Profile 14 - Timer
' 15 - Section 15 - WindowsStation 15 - (Profile)
' 16 - Key 16 - Desktop 16 - KeyedEvent
' 17 - Port 17 - Section 17 - WindowStation
' 18 - Adapter 18 - Key 18 - Desktop
' 19 - Controller 19 - Port 19 - Section
' 20 - Device 20 - WaitablePort 20 - Key
' 21 - Driver 21 - Adapter 21 - Port
' 22 - IoCompletion 22 - Controller 22 - WaitablePort
' 23 - File 23 - Device 23 - (Adapter)
' 24 - Driver 24 - (Controller)
' 25 - IoCompletion 25 - (Device)
' 26 - File 26 - (Driver)
' 27 - WmiGuid 27 - IoCompletion
' 28 - File
' 29 - WmiGuid
Object type number of process under vista is 6
' ----------------- ------------------- -------------------
' 1 - Type 1 - Type 1 - (Type)
' 2 - Directory 2 - Directory 2 - Directory
' 3 - SymbolicLink 3 - SymbolicLink 3 - SymbolicLink
' 4 - Token 4 - Token 4 - Token
' 5 - Process 5 - Process 5 - Process
' 6 - Thread 6 - Thread 6 - Thread
' 7 - Event 7 - Job 7 - Job
' 8 - EventPair 8 - Event 8 - ((DebugObject))
' 9 - Mutant 9 - EventPair 9 - Event
' 10 - Semaphore 10 - Mutant 10 - (EventPair)
' 11 - Timer 11 - Callback 11 - Mutant
' 12 - Profile 12 - Semaphore 12 - (Callback)
' 13 - WindowStation 13 - Timer 13 - Semaphore
' 14 - Desktop 14 - Profile 14 - Timer
' 15 - Section 15 - WindowsStation 15 - (Profile)
' 16 - Key 16 - Desktop 16 - KeyedEvent
' 17 - Port 17 - Section 17 - WindowStation
' 18 - Adapter 18 - Key 18 - Desktop
' 19 - Controller 19 - Port 19 - Section
' 20 - Device 20 - WaitablePort 20 - Key
' 21 - Driver 21 - Adapter 21 - Port
' 22 - IoCompletion 22 - Controller 22 - WaitablePort
' 23 - File 23 - Device 23 - (Adapter)
' 24 - Driver 24 - (Controller)
' 25 - IoCompletion 25 - (Device)
' 26 - File 26 - (Driver)
' 27 - WmiGuid 27 - IoCompletion
' 28 - File
' 29 - WmiGuid
Object type number of process under vista is 6
訂閱:
文章 (Atom)