随笔分类 - 作业
摘要:直接上代码: #include<bits/stdc++.h> using namespace std; //nfa结构定义 struct nst { vector<int> a[26], e; //接收a-z会到达的状态,接收eps会到达的状态 bool f = 0; //=0为可接受态 }; ve
阅读全文
摘要:【数据结构OJ】实验10 拓扑排序与关键路径等 存一下代码: A. 图综合练习--拓扑排序 整的很复杂 #include <iostream> using namespace std; const int N = 1005; int n, d[N], top[N]; int q[N], v[N];
阅读全文
摘要:
重力加速度g的计算
阅读全文

摘要:
大学物理实验1 不想手算的我干脆操起老本行 自制误差分析——不确定度评估板子 展示一下输出: ##代码 #include <iostream> #include <algorithm> #include <cmath> #define pi 3.141593 using namespace std;
阅读全文
