09 2022 档案
摘要:中点画线 #include <GL/glut.h> #include<math.h> #include<iostream> using namespace std; void Midpoint(float x0, float y0, float x1, float y1) { int flag =
阅读全文
摘要:离散化 将无穷大集合的若干元素映射到有限集合便于统计的方法 vector<int> alls; // 存储所有待离散化的值 sort(alls.begin(), alls.end()); // 将所有值排序 alls.erase(unique(alls.begin(), alls.end()), a
阅读全文