12 2017 档案

摘要:使用哈夫曼编码对文本文件进行压缩。 阅读全文
posted @ 2017-12-30 20:19 AutSky_JadeK 阅读(382) 评论(0) 推荐(0)
摘要:typedef long long __int64; #include "mpi.h" #include <cstdio> #include <algorithm> #include <cmath> using namespace std; int Compute_partner(int phase 阅读全文
posted @ 2017-12-30 20:16 AutSky_JadeK 阅读(3398) 评论(1) 推荐(0)
摘要:输入作乘法的次数K 然后输入矩阵和向量的维度n 然后输入一个n维向量 然后输入K个n阶方阵 程序会给出该向量连续与此K个方阵做乘法后的结果 主要用了MPI_Gather, MPI_Allgather, MPI_Bcast, MPI_Scatter 等 注意printf在终端中打印的时机会很玄学 往往 阅读全文
posted @ 2017-12-29 14:46 AutSky_JadeK 阅读(1285) 评论(0) 推荐(0)
摘要:比较简单的并行求和 读入还是串行的 而且无法处理线程数无法整除数据总长度的情况 主要用到了MPI_Bcast MPI_Scatter MPI_Reduce 阅读全文
posted @ 2017-12-29 13:11 AutSky_JadeK 阅读(730) 评论(0) 推荐(0)

TVアニメ「Charlotte(シャーロット)」公式サイト TVアニメ「Charlotte(シャーロット)」公式サイト