循环中乘方,为取末3位,对应取模10^3 摘要:解题思路:1.循环中乘方2.为取末3位,对应取模10^33.输出前面的填充,%03d\n格式注意事项:参考代码:#include<iostream> using namespace std; in…… 题解列表 2024年12月05日 0 点赞 0 评论 253 浏览 评分:0.0
C语言 结构体+主函数一维数组 摘要:解题思路:注意事项:参考代码:#include<stdio.h>struct Student{ char name[30] ; //名字 int average ; //平均分…… 题解列表 2024年12月05日 1 点赞 0 评论 313 浏览 评分:0.0
两种方法 结构体解决问题 or 一个简单for循环解决问题(简单逻辑) 摘要:解题思路:注意事项:参考代码://一个简单for循环解决问题#include<stdio.h>int main ( ){ int num=7 , sum=0 , school=0 ,class=…… 题解列表 2024年12月05日 0 点赞 0 评论 386 浏览 评分:0.0
注意循环的次数,手动拆解下落地的精确距离怎么表示 摘要:注意事项:i循环的次数参考代码:#include<iostream> #include<cmath> using namespace std; int main() { int h;…… 题解列表 2024年12月05日 0 点赞 0 评论 277 浏览 评分:0.0
利用一个小学方程的方法 摘要:解题思路:小学求鸡兔同笼的方法注意事项:参考代码:#include<stdio.h>int main(){ int s; scanf("%d",&s); for(int i=0;i<=s;i++) {…… 题解列表 2024年12月05日 2 点赞 0 评论 533 浏览 评分:0.0
计算书费(思路清晰明了) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,a[10]; float sum; for(i=1;i<=10;i++) {…… 题解列表 2024年12月05日 1 点赞 0 评论 662 浏览 评分:0.0
求球的体积 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ double r,v; while(scanf("%lf",&r)!=EOF) { …… 题解列表 2024年12月05日 3 点赞 0 评论 869 浏览 评分:0.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 评论 348 浏览 评分:0.0
编写题解 2773: 计算线段长度 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <math.h>int main(){ double Xa,Xb,xa,xb; double s; …… 题解列表 2024年12月05日 2 点赞 0 评论 521 浏览 评分:0.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 评论 447 浏览 评分:0.0