1051: [编程入门]结构体之成绩统计2——Ccp 摘要:解题思路:注意事项:参考代码:1051: [编程入门]结构体之成绩统计2#include<stdio.h>struct stu{ char num[100]; char name[100]; int …… 题解列表 2023年03月07日 0 点赞 0 评论 550 浏览 评分:9.9
1050: [编程入门]结构体之成绩记录——Ccp 摘要:解题思路:注意事项:参考代码:#include <stdio.h>struct stu{ char num[100]; char name[100]; int score[3];};…… 题解列表 2023年03月07日 0 点赞 0 评论 539 浏览 评分:9.9
1084: 用筛法求之N内的素数——Ccp 摘要:解题思路:注意事项:参考代码:#include<math.h>int main(){ int N; scanf("%d",&N); int i,j,temp; for(i=2;i<=N;i++){ …… 题解列表 2023年03月07日 0 点赞 0 评论 559 浏览 评分:9.9
1120: C语言训练-"水仙花数"问题2——Ccp 摘要:解题思路:注意事项:参考代码:#include<math.h>int main(){ int i; for(i=100;i<=999;i++){ int onesplace=i%10; int t…… 题解列表 2023年03月07日 0 点赞 0 评论 647 浏览 评分:9.9
C++版简单4位数 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main() { int n, x; int m = 0; cin >> n; fo…… 题解列表 2023年03月07日 0 点赞 0 评论 655 浏览 评分:9.9
没学过C++的都可以看懂 摘要:解题思路:注意事项:参考代码:#include <iostream>#include <cmath>using namespace std;int main() { int n; cin >> n; …… 题解列表 2023年03月07日 0 点赞 0 评论 707 浏览 评分:9.9
巧用break怒干最小 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main() { int a, b, c; cin >> a >> b >> c; …… 题解列表 2023年03月07日 0 点赞 0 评论 645 浏览 评分:9.9
c++ 40多行简单版 摘要:解题思路:创建链表删除所要求数据。注意事项:此为头插法,最后用数组来重新输出参考代码:#include<iostream>using namespace std;struct Data{ int…… 题解列表 2023年03月07日 0 点赞 0 评论 621 浏览 评分:9.9
LikeWater - 1575: 蓝桥杯算法提高VIP-递归倒置字符数组C++(现在有课,暂时先把答案放这儿,大家先看看,有时间我补充解释说明) ```cpp#includeusingnamespacestd;intN;//完成一个递归程序,倒置字符数组。并打印实现过程//递归逻辑为://当字符长度等于1时,直接返回//否则,调换首尾两个字符,在递归地倒置字符数组的剩下部分char*Inversion(chars[], 题解列表 2023年03月07日 0 点赞 1 评论 586 浏览 评分:9.9
15行代码写完 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int main() { int a,b; while(cin>…… 题解列表 2023年03月07日 1 点赞 0 评论 744 浏览 评分:9.9