编写题解 1008: [编程入门]成绩评定 摘要:解题思路:题目要求根据输入的整数成绩(0-100),输出对应的成绩等级。成绩等级分为 ‘A’、‘B’、‘C’、‘D’ 和 ‘E’,具体分级标准如下:90分及以上为 ‘A’80-89分为 ‘B’70-7…… 题解列表 2024年12月05日 10 点赞 2 评论 3566 浏览 评分:10.0
[编程入门]自定义函数之字符串连接 两行搞定! 摘要:解题思路:注意事项: 哈哈哈哈哈哈,没骗你吧参考代码:#include"bits/stdc++.h" using namespace std;int main(){st…… 题解列表 2024年12月06日 4 点赞 2 评论 829 浏览 评分:10.0
2797 最高的分数(简单易懂) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,n; int a[100]; scanf("%d",&n); for(i=0…… 题解列表 2024年12月06日 1 点赞 0 评论 559 浏览 评分:10.0
题解 1012: [编程入门]字符串分类统计新手方法 摘要:#include <stdio.h> int main () { char ch[200]; int i = 0; for (i=0;ch[i]<200;i++){ scanf …… 题解列表 2024年12月06日 7 点赞 0 评论 1681 浏览 评分:10.0
函数求解最大公约数与最小公倍数 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int gcd(int m, int n);int lcd(int m, int n);int main(void){ int m…… 题解列表 2024年12月06日 5 点赞 0 评论 2552 浏览 评分:10.0
编写题解 1139: C语言训练-求素数问题 ```cpp#include#includeusingnamespacestd;constintN=1e4+10;intprime[N];intisprime[N];intmain(){intn,k=0;cin>>n;for(inti=2;i 题解列表 2024年12月07日 1 点赞 0 评论 662 浏览 评分:10.0
C语言代码 用指针解决 摘要:解题思路:1.遍历输入 2.在输入过程中求全部数据的和、最大值、最小值 3.求有效数据(除了最大值和最小值之外的数据)的平均 题解列表 2024年12月07日 1 点赞 0 评论 436 浏览 评分:10.0
编写题解 1073: 弟弟的作业 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<stdlib.h> //atio函数,将字符串转换为数字.#include<string.h> …… 题解列表 2024年12月07日 4 点赞 0 评论 1054 浏览 评分:10.0
蓝桥杯2024年第十五届省赛真题-好数 #includeintmain(){intn;intd=0;;intu=1;intc=0;inti=0;scanf("%d",&n);for(inta=1;a10;){d/=10;u++;//u统计位数}d=a;for(intw=1;w 题解列表 2024年12月07日 1 点赞 0 评论 938 浏览 评分:10.0
1033: [编程入门]自定义函数之字符提取 #includeintmain(){chara[1000];chars[1000];gets(a);inty=0;intr=0;while(a[y]!='\0'){if((a[y]=='a')||(a[y]=='e')||(a[y]=='i')||(a[y]=='o')||a[y]=='u'){s[r 题解列表 2024年12月07日 1 点赞 0 评论 1088 浏览 评分:10.0