摘要: 1 #include <stdio.h> 2 3 void main() 4 { 5 char c; 6 while((c=getchar())!='\n') 7 { 8 if( (c>='a'&&c<='z') || (c>='A'&&c<='Z') ) 9 {10 11 if( ( (c<'D') ) || (c>='a')&&(c<'d') )12 {13 c= 阅读全文
posted @ 2012-05-08 22:14 r3call 阅读(6684) 评论(0) 推荐(0) 编辑
摘要: #include <stdio.h>//水仙花数//153=1*1*1+5*5*5+3*3*3//输入100-999之间的水仙花数void main(){ for (int m=100;m<1000;m++) { int a=(int)m/100; int b=(int)(m-a*100)/10; int c=(m-a*100-b*10); if (a*a*a+b*b*b+c*c*c==m) { printf("%d是水仙花数\n",m); } }}今天在某个人的blog... 阅读全文
posted @ 2012-05-08 22:02 r3call 阅读(283) 评论(0) 推荐(0) 编辑
摘要: 看黑鹰的教程,发现这个壳没有用到esp定律来脱,所以就自己实验了下。发现可以用esp定律。文件下载地址:http://files.cnblogs.com/tk091/PECompact2.55.rar下面是脱文:首先OD载入程序,找到第一个esp凸显变红的地方,在命令行输入hr espshift+F9运行。1 77578D0B 3B45 F8 cmp eax, dword ptr [ebp-8]2 77578D0E 72 09 jb short 77578D193 77578D10 3B45 F4 cmp ... 阅读全文
posted @ 2012-05-08 16:16 r3call 阅读(210) 评论(0) 推荐(0) 编辑