sort函数妙解数位排序 摘要:解题思路:在sort函数中添加优化的比较函数cmp注意事项:数组要比十万大一点参考代码:#include <iostream> #include<algorithm> using namespac…… 题解列表 2024年03月28日 0 点赞 0 评论 257 浏览
字符串去掉空格 摘要:解题思路:注意事项:参考代码:#include<string.h>去掉空格int main(){ int i; int j = 4; int n; char arr[1000]; while (j) …… 题解列表 2023年01月22日 0 点赞 0 评论 248 浏览
日期非结构解法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n, y, r; int h; int i; int sum=0; scanf("%d%d%d", &n…… 题解列表 2023年01月20日 0 点赞 0 评论 230 浏览