无聊的星期五 摘要:#include <stdio.h> #include<stdlib.h> int main() { char c; int sum = 0; while ((c = getchar…… 题解列表 2024年12月27日 0 点赞 0 评论 807 浏览 评分:0.0
1767: 循环入门练习4题解 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int sum=0; int n; cin…… 题解列表 2024年12月28日 0 点赞 0 评论 404 浏览 评分:0.0
1768: 循环入门练习5题解 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int n; cin>>n; for(in…… 题解列表 2024年12月28日 0 点赞 0 评论 519 浏览 评分:0.0
佳肴荟萃很快就来一句 摘要:加油了解题思路:注意从后面逐个移动注意事项:参考代码: #include<stdio.h> int main(void) { int a[10]; int i; f…… 题解列表 2024年12月28日 1 点赞 0 评论 769 浏览 评分:0.0
自定义函数处理素数 摘要:#include<stdio.h> int judge(int n); int main(void) { int n; while(scanf("%d", &n)) …… 题解列表 2024年12月28日 3 点赞 0 评论 1393 浏览 评分:0.0
二维数组的转置 摘要:解题思路:#include<stdio.h> int main(void) { int a[3][3] = { {1, 2, 3}, &nbs 题解列表 2024年12月28日 1 点赞 0 评论 1057 浏览 评分:0.0
多余的string函数 摘要:解题思路:#include<stdio.h> #include<string.h> int main(void) { char a[100]; gets(a); i…… 题解列表 2024年12月28日 2 点赞 0 评论 830 浏览 评分:0.0
自定义函数之字符串连接 摘要:#include<stdio.h> int main(void) { char a[100]; char b[100]; char temp[100]; i…… 题解列表 2024年12月28日 0 点赞 0 评论 752 浏览 评分:0.0
先转化为小写 摘要:#include<stdio.h> #include<ctype.h> int main(void) { char a[100]; char target[100]; …… 题解列表 2024年12月28日 0 点赞 0 评论 495 浏览 评分:0.0
坐标排序(构建对象去处理坐标数据) 解题思路:-既然用的C++,那就不用结构体去处理了,构建一个对象去处理,顺便使用构造函数去处理输入-将对象存入vector容器,再去排序,排序用的就是sort,想看手写快排的话,那放在这下面,-手写快排:```cppvoidswap(int*a, 题解列表 2024年12月28日 0 点赞 0 评论 642 浏览 评分:0.0