2015年10月21日

暴力大法好

摘要: 通过暴力枚举进行隐藏进程的恢复(利用进程ID全为4的倍数)EnumProcessByForceRing3层程序:首先要进行提权: 1 BOOL EnableDebugPrivilege() //Debug 2 { 3 4 HANDLE hToken = NULL; 5 ... 阅读全文

posted @ 2015-10-21 16:08 yifi 阅读(387) 评论(0) 推荐(0) 编辑

HideProcess

摘要: 1 #ifndef CXX_HIDEPROCESS_H 2 # include "HideProcess.h" 3 #endif 4 5 6 7 #ifdef _WIN64 8 #define ActiveProcessLinksOffset_EPROCESS 0x188 9 #d... 阅读全文

posted @ 2015-10-21 15:31 yifi 阅读(504) 评论(0) 推荐(0) 编辑

2015年10月15日

Hduacm—5497

摘要: 1 #include 2 #include 3 #include 4 5 using namespace std; 6 7 typedef long long LL; 8 const int maxn = 1e5+100; 9 int a[maxn];10 struct Bittree1... 阅读全文

posted @ 2015-10-15 20:17 yifi 阅读(199) 评论(0) 推荐(0) 编辑

BestCoder——59

摘要: http://bestcoder.hdu.edu.cn/contests/contest_show.php?cid=640第一题:给一堆书的序列 每次操作只能将书从中间移到最上面 求最少移动多少次 使得有序只有19本书怎么暴力怎么来可以观察出 一本书最多被移动一次 不然移动就不存在意义了ID最大的书... 阅读全文

posted @ 2015-10-15 19:06 yifi 阅读(172) 评论(0) 推荐(0) 编辑

新的开始 总不能这么颓废下去

摘要: 由于某些原因 从今天开始 每天坚持写博客吧 --yifi 阅读全文

posted @ 2015-10-15 18:29 yifi 阅读(132) 评论(0) 推荐(0) 编辑

2015年9月30日

Codeforces 417E

摘要: 1 #include 2 #include 3 #include 4 #include 5 #include 6 using namespace std; 7 8 bool judge(int s) 9 {10 int k = sqrt(s);11 return k*k == s... 阅读全文

posted @ 2015-09-30 17:11 yifi 阅读(184) 评论(0) 推荐(0) 编辑

2015年6月25日

实现计算机重启

摘要: 1.新建工程2.添加3个控件按钮 ID分别为 IDC_BTCLOSE IDC_BTRESET IDC_BTLOGOUT 分别为“关闭计算机”,“重新启动”,“注销计算机”3. 在OnInitDialog中设置实现关机的权限static HANDLE hToken; static TOKEN... 阅读全文

posted @ 2015-06-25 09:53 yifi 阅读(308) 评论(0) 推荐(0) 编辑

True bar

摘要: 真彩bar 1 /***========================================================================= 2 ==== ... 阅读全文

posted @ 2015-06-25 09:50 yifi 阅读(272) 评论(0) 推荐(0) 编辑

2015年6月13日

cf 307

摘要: 一开始我是不想打的 又因为307这个数字太特殊了毕竟307 希望今天的考试不要挂掉http://codeforces.com/contest/551/problem/A 1 #include 2 #include 3 #include 4 using namespace std; 5 6 cons... 阅读全文

posted @ 2015-06-13 11:38 yifi 阅读(164) 评论(0) 推荐(0) 编辑

2015年6月12日

一道离散化+线段树+扫描线的题

摘要: http://poj.org/problem?id=1151这道题感觉快哭了 卡了一个差不多礼拜 然后发现 输出用%.2lf是过不了的 必须用%.2f才能过 这是一道好(lan)题;%f 一般对应单精度类型 float%lf 一般对应双精度类型 double 1 #include 2 #incl... 阅读全文

posted @ 2015-06-12 20:21 yifi 阅读(159) 评论(0) 推荐(0) 编辑

导航