编写题解 2774: 计算三角形面积 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <math.h>int main(){ float x1,x2,x3,y1,y2,y3; double a,b…… 题解列表 2024年12月05日 1 点赞 0 评论 356 浏览 评分:0.0
编写题解 1003: [编程入门]密码破译 摘要:解题思路:译码规律是:用原来字母后面的第4个字母代替原来的字母. 注意事项:参考代码:#include <stdio.h>int main() { // 初始化变量 char c1 =…… 题解列表 2024年12月05日 19 点赞 0 评论 3623 浏览 评分:10.0
编写题解 2773: 计算线段长度 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <math.h>int main(){ double Xa,Xb,xa,xb; double s; …… 题解列表 2024年12月05日 2 点赞 0 评论 427 浏览 评分:0.0
编写题解 1002: [编程入门]三个数最大值 摘要:解题思路: 假设a是最大值,然后用a与b,c 比较,哪个大就让max等于哪个注意事项:参考代码:#include <stdio.h>int main() { int a, b, c; i…… 题解列表 2024年12月05日 8 点赞 0 评论 852 浏览 评分:9.9
编写题解 1007: [编程入门]分段函数求值 摘要:解题思路: 只需要判断x所处的范围就行了注意事项:参考代码:#include<stdio.h>int main(){ //判断x int x; int y; //只需要判断x所在的范围 scanf…… 题解列表 2024年12月05日 3 点赞 0 评论 2001 浏览 评分: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 评论 270 浏览 评分:0.0
编写题解 1000: [竞赛入门]简单的a+b 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main() { int a, b; // 使用循环来处理多组测试数据 while (scanf("%d %…… 题解列表 2024年12月05日 18 点赞 1 评论 3515 浏览 评分:10.0
大象喝水题解,,,, 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int h,r,t; double v; scanf("%d %d",&h,&r); …… 题解列表 2024年12月05日 1 点赞 0 评论 428 浏览 评分:10.0
求球的体积 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ double r,v; while(scanf("%lf",&r)!=EOF) { …… 题解列表 2024年12月05日 3 点赞 0 评论 742 浏览 评分:0.0
用while循环,卡住终止点是更新后的a=0 ;不断用10求模,不断更新,循环输出 摘要:解题思路:1.用while循环,卡住终止点是更新后的a=02.不断用10求模,不断更新,循环输出参考代码:#include<iostream> using namespace std; int m…… 题解列表 2024年12月05日 3 点赞 0 评论 493 浏览 评分:10.0