摘要: 点击查看代码 #include <iostream> #include<cstring> using namespace std; int main() { char s[1005]; int cnt = 0; gets_s(s); int len = strlen(s); s[len] = '\0 阅读全文
posted @ 2025-09-19 16:28 一只牛油果 阅读(4) 评论(0) 推荐(0)
摘要: 点击查看代码 #include<iostream> #include<cstring> using namespace std; int main() { char s[105]; gets_s(s); int len = strlen(s); s[len] = '\0'; char d[105]; 阅读全文
posted @ 2025-09-19 14:54 一只牛油果 阅读(15) 评论(0) 推荐(0)