编写题解 2775: 等差数列末项计算 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int a1,a2,n,d; scanf("%d %d %d",&a1,&a2,&n); d…… 题解列表 2024年12月05日 0 点赞 0 评论 179 浏览 评分:9.9
编写题解 1008: [编程入门]成绩评定 摘要:解题思路:题目要求根据输入的整数成绩(0-100),输出对应的成绩等级。成绩等级分为 ‘A’、‘B’、‘C’、‘D’ 和 ‘E’,具体分级标准如下:90分及以上为 ‘A’80-89分为 ‘B’70-7…… 题解列表 2024年12月05日 8 点赞 1 评论 1941 浏览 评分:10.0
编写题解 2774: 计算三角形面积 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <math.h>int main(){ float x1,x2,x3,y1,y2,y3; double a,b…… 题解列表 2024年12月05日 1 点赞 0 评论 326 浏览 评分:0.0
编写题解 1003: [编程入门]密码破译 摘要:解题思路:译码规律是:用原来字母后面的第4个字母代替原来的字母. 注意事项:参考代码:#include <stdio.h>int main() { // 初始化变量 char c1 =…… 题解列表 2024年12月05日 17 点赞 0 评论 3381 浏览 评分:10.0
编写题解 2773: 计算线段长度 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <math.h>int main(){ double Xa,Xb,xa,xb; double s; …… 题解列表 2024年12月05日 2 点赞 0 评论 388 浏览 评分:0.0
编写题解 1002: [编程入门]三个数最大值 摘要:解题思路: 假设a是最大值,然后用a与b,c 比较,哪个大就让max等于哪个注意事项:参考代码:#include <stdio.h>int main() { int a, b, c; i…… 题解列表 2024年12月05日 8 点赞 0 评论 771 浏览 评分:9.9
编写题解 1007: [编程入门]分段函数求值 摘要:解题思路: 只需要判断x所处的范围就行了注意事项:参考代码:#include<stdio.h>int main(){ //判断x int x; int y; //只需要判断x所在的范围 scanf…… 题解列表 2024年12月05日 3 点赞 0 评论 1822 浏览 评分:6.0
编写题解 2772: 苹果和虫子 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int n,x,y,sum=0; scanf("%d %d %d",&n,&x,&y); s…… 题解列表 2024年12月05日 0 点赞 0 评论 230 浏览 评分:0.0
编写题解 1000: [竞赛入门]简单的a+b 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main() { int a, b; // 使用循环来处理多组测试数据 while (scanf("%d %…… 题解列表 2024年12月05日 16 点赞 1 评论 3191 浏览 评分:10.0
大象喝水题解,,,, 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int h,r,t; double v; scanf("%d %d",&h,&r); …… 题解列表 2024年12月05日 1 点赞 0 评论 357 浏览 评分:10.0