指令集 我们计算机要执行程序,本质上是执行一条条的指令,而指令是从指令集中取出的,目前常见的指令集有CISC(Complex Instruction Set Computer,复杂指令集)和RISC(Reduced Instruction Set Computer,精简指令集)。 关于软考,我们就记着CISC指令数量多,可变长格式,支持多种寻址方式,由微程序实现。 RISC指令数量少,定长格
1.朴素dijkstra #include<algorithm>#include<iostream>#include<cstring>#include<queue>#include<cmath>using namespace std;const int N = 510; int n,m;int g[N][N],dist[N];bool st[N];int dij(){memset(
2024蓝桥杯赛前模版突击:图论篇 图论在蓝桥杯中一般考的不难,如果有图论的题,就基本是模板题,知道板子就有分了。 邻接表 本文使用方法1的方式实现邻接表 邻接表1 static int[] dist = new int[N],st = new int[N];static int[] h = new int[N],e = new int[M],ne = new int[M],w = n