上一页 1 2 3 4 5 6 ··· 8 下一页
摘要: T1 #include <stdio.h> int main() { int fahr = 150; int celsius = 5 * (fahr - 32) / 9; printf("fahr = %d, celsius = %d", fahr, celsius); } T2 #include 阅读全文
posted @ 2024-03-15 15:18 Icys 阅读(70) 评论(0) 推荐(0)
摘要: 山东大学23强基班计算机导论第一次习题答案 T1. #include <stdio.h> int main() { printf("Hello World!"); return 0; } T2. #include <stdio.h> int main() { printf("Programming 阅读全文
posted @ 2024-03-08 14:23 Icys 阅读(73) 评论(0) 推荐(0)
摘要: 利用WinRT实现DX截图的方法 阅读全文
posted @ 2024-03-06 16:48 Icys 阅读(721) 评论(1) 推荐(0)
摘要: 同学问的课后作业,顺便加了写注释。 #include<stdio.h> /* * 注意 每周的第一天是星期天 */ int main() { int day_per_mo[12] = { 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 }; // 12个 阅读全文
posted @ 2024-02-01 00:57 Icys 阅读(113) 评论(0) 推荐(0)
摘要: 最近打PKU的HPCGAME留下的代码,速度不是很快 const int BLOCK_SIZE = 1024; const int BLOCK_SIZE2 = 256; inline static void block_avx256_16x2( // 电脑不支持AVX512捏 int n,int K 阅读全文
posted @ 2024-02-01 00:51 Icys 阅读(124) 评论(0) 推荐(0)
摘要: 最近打PKU的HPCGAME用的代码,这里只用上了20个zmm寄存器,改变block的大小应该还能优化一下速度。 代码只考虑了方阵,其他非2^n次方阵要自己改代码。具体原理很简单,看看代码就差不多知道。 const int BLOCK_SIZE = 1024; const int BLOCK_SIZ 阅读全文
posted @ 2024-02-01 00:47 Icys 阅读(244) 评论(0) 推荐(0)
摘要: 无视角度,大小变换的找图方法 阅读全文
posted @ 2023-11-20 08:14 Icys 阅读(1399) 评论(0) 推荐(1)
摘要: 通过使用Windows未公开API完成高效的DX方法截图。 阅读全文
posted @ 2023-11-19 20:41 Icys 阅读(4505) 评论(2) 推荐(4)
摘要: NCC算法实现及其优化 本文将集中探讨一种实现相对简单,效果较好的模板匹配算法(NCC) \[R(x,y)= \frac{ \sum_{x',y'} (T'(x',y') \cdot I'(x+x',y+y')) }{ \sqrt{\sum_{x',y'}T'(x',y')^2 \cdot \sum 阅读全文
posted @ 2023-10-21 16:19 Icys 阅读(915) 评论(0) 推荐(0)
摘要: # [远程Call]32位远程多参数带返回调用 ##### 引子 >在Windows上可以使用CreateRemoteThread实现远程Call,但是有不带返回值且只能传递一个参数的限制。 ##### 解决思路 > 将多个参数利用VirtualAllocEx和WriteProcessMemory写 阅读全文
posted @ 2023-08-25 21:44 Icys 阅读(1078) 评论(3) 推荐(0)
上一页 1 2 3 4 5 6 ··· 8 下一页