08 2024 档案

摘要:消除换行符 if (str[i] == '\n')str[i] = '\0'; scanf和cin会读取空格,而fgets不会 gets_s许多编译器不支持,不建议用 char str[N]; if (fgets(str, sizeof(str), stdin) == NULL) { return 阅读全文
posted @ 2024-08-30 23:24 某朝 阅读(16) 评论(0) 推荐(0) 编辑
摘要:1.Function 机器学习=找函式(function) 函式种类: Regression:输出是一个数值(scalar)。 Classification:设定好的选项里选择一个进行输出 Structured learning Model y=b+wx feature weight bias 2. 阅读全文
posted @ 2024-08-23 11:52 某朝 阅读(8) 评论(0) 推荐(0) 编辑
摘要:https://linklearner.com/activity/16/14/42 阅读全文
posted @ 2024-08-23 10:10 某朝 阅读(14) 评论(0) 推荐(0) 编辑
摘要:普通 #include<iostream> using namespace std; #include<algorithm> #include<cstring> const int N = 5010; int n, f[N]; int a[N]; int main() { cin >> n; for 阅读全文
posted @ 2024-08-07 15:18 某朝 阅读(8) 评论(0) 推荐(0) 编辑
摘要:题目acwing #include<iostream> #include<cstring> #include<algorithm> using namespace std; const int N = 100010; int n, m; int h[N], e[N], ne[N], idx; int 阅读全文
posted @ 2024-08-04 18:03 某朝 阅读(14) 评论(0) 推荐(0) 编辑

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