随笔分类 - 非竞赛代码
摘要:使用哈夫曼编码对文本文件进行压缩。
阅读全文
摘要:typedef long long __int64; #include "mpi.h" #include <cstdio> #include <algorithm> #include <cmath> using namespace std; int Compute_partner(int phase
阅读全文
摘要:输入作乘法的次数K 然后输入矩阵和向量的维度n 然后输入一个n维向量 然后输入K个n阶方阵 程序会给出该向量连续与此K个方阵做乘法后的结果 主要用了MPI_Gather, MPI_Allgather, MPI_Bcast, MPI_Scatter 等 注意printf在终端中打印的时机会很玄学 往往
阅读全文
摘要:比较简单的并行求和 读入还是串行的 而且无法处理线程数无法整除数据总长度的情况 主要用到了MPI_Bcast MPI_Scatter MPI_Reduce
阅读全文
摘要://¡õ;¡ö #include<cstdio> #include<algorithm> #include<cstdlib> #include<ctime> #include<cstring> #include<queue> #include<windows.h> #include<conio.h>
阅读全文
摘要:#include<cstdio> #include<iostream> #include<string> #include<cstring> #include<list> #include<conio.h> #include<windows.h> using namespace std; typed
阅读全文
摘要:题目:简单进销存 功能要求:
阅读全文
摘要:我的还……支持撤销!用链表实现! 题目:推箱子小游戏(基于console) 功能要求:
阅读全文
摘要:大一寒假作业!写了第一个小游戏!
阅读全文

浙公网安备 33010602011771号
