上一页 1 ··· 4 5 6 7 8 9 10 11 下一页
摘要: 第10题 参考洛谷P1025数的划分 #include<iostream> #include<vector> using namespace std; const int N = 300010; int a[N]; int ans=100000; vector<int>v; //x是此次分的,k是剩 阅读全文
posted @ 2024-10-09 20:28 某朝 阅读(27) 评论(0) 推荐(0)
摘要: Angular规范 阅读全文
posted @ 2024-10-05 21:52 某朝 阅读(14) 评论(0) 推荐(0)
摘要: 很详细 阅读全文
posted @ 2024-10-05 21:32 某朝 阅读(21) 评论(0) 推荐(0)
摘要: 删除 阅读全文
posted @ 2024-10-03 17:26 某朝 阅读(14) 评论(0) 推荐(0)
摘要: 修改字符串 //用sprintf把buffer字符串格式化 sprintf(buffer, "Age: %d, Height: %.1f", age, height); 从字符串读取数据 // 使用 sscanf 从字符串中读取数据 sscanf(data, "%d %lf", &age, &hei 阅读全文
posted @ 2024-09-26 18:13 某朝 阅读(19) 评论(0) 推荐(0)
摘要: 例题深得我心 阅读全文
posted @ 2024-09-24 17:14 某朝 阅读(20) 评论(0) 推荐(0)
摘要: ds题目 #include<iostream> using namespace std; typedef struct Node { int index; int data; }node; const int N = 10010; node a[N]; int output[N]; int hh = 阅读全文
posted @ 2024-09-23 14:20 某朝 阅读(26) 评论(0) 推荐(0)
摘要: 汉诺塔 逆序输出(栈先进后出) #include<iostream> #include<stack> #include<tuple> using namespace std; int n; const int N = 10010; stack <tuple<int, char, char, char 阅读全文
posted @ 2024-09-21 16:22 某朝 阅读(27) 评论(0) 推荐(0)
摘要: #include <iostream> #include <iomanip> #include <unordered_map> #include <string> using namespace std; const int N = 100010; unordered_map<string, str 阅读全文
posted @ 2024-09-17 11:34 某朝 阅读(74) 评论(0) 推荐(0)
摘要: append:附加 ls:列出目录内容。 cd:更改当前目录。 pwd:显示当前位置的路径。 cp:复制文件或目录。 mv:移动或重命名文件或目录。 rm:删除文件或目录。 mkdir:创建新目录。 rmdir:删除空目录。 chmod:更改文件或目录的权限。 chown:更改文件或目录的所有者。 阅读全文
posted @ 2024-09-09 14:45 某朝 阅读(48) 评论(0) 推荐(0)
上一页 1 ··· 4 5 6 7 8 9 10 11 下一页