02 2024 档案

摘要:代码如下 #include <iostream> #include <vector> #include <algorithm> double percentile_linear_interpolation(const std::vector<double>& data, double percent 阅读全文
posted @ 2024-02-19 16:44 阿坦 阅读(127) 评论(0) 推荐(0) 编辑
摘要:C#代码如下 using System; using System.Threading; class Program { static void Main() { Console.Write("Progress: "); // 循环迭代,模拟进度显示 for (int i = 0; i <= 100 阅读全文
posted @ 2024-02-04 09:39 阿坦 阅读(345) 评论(0) 推荐(0) 编辑
摘要:C语言 k_means代码 #include <iostream> using namespace std; // 定义点的结构体 struct point { double x; // 点的x坐标 double y; // 点的y坐标 int centroid; // 点所属的质心 }; // 定 阅读全文
posted @ 2024-02-01 09:45 阿坦 阅读(18) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示