矩阵交换行(C语言) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int arr[5][5]={0}; for(int i=0;i<5;i++) { …… 题解列表 2023年11月26日 0 点赞 0 评论 223 浏览 评分:0.0
财务管理求月平均值 摘要:解题思路:注意事项:参考代码:sum=0for i in range(12): a=float(input()) sum+=aprint('${:.2f}'.format(…… 题解列表 2023年11月26日 1 点赞 0 评论 452 浏览 评分:9.9
基因问题!! 摘要:解题思路:求比例和输入的阈值比大小注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char a[501],b[501]; …… 题解列表 2023年11月26日 0 点赞 0 评论 492 浏览 评分:0.0
大白话描述 摘要:解题思路:注意事项:参考代码:a=int(input().lstrip("0"))b=int(input().lstrip("0"))print(a-b)…… 题解列表 2023年11月26日 0 点赞 0 评论 569 浏览 评分:0.0
精简一下,如果还有更精简的请大佬评论 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,n,s=0; scanf("%d",&n); for(i=2;n>0;i+=3,n--) s+=…… 题解列表 2023年11月26日 0 点赞 0 评论 292 浏览 评分:9.9
很好理解,注意变量 摘要:解题思路:注意事项:%.0lf,会四舍五入参考代码:#include<stdio.h>int main(){ int y; double m,r; scanf("%lf%lf%d",…… 题解列表 2023年11月26日 0 点赞 0 评论 518 浏览 评分:9.9
可以看一下这么写有什么问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ float i; scanf("%f",&i); printf("%.2f\n",(i-32)…… 题解列表 2023年11月26日 1 点赞 0 评论 416 浏览 评分:9.9
[编程入门]最大公约数与最小公倍数 摘要:解题思路:首先要明白最大公约数与最小公倍数的关系以及如何求出例如:a=18 b=12最大公约数:ii=(a+b)/2;while(a%i!=0||b%i!=0){i--;}或者 for(;a%c!=…… 题解列表 2023年11月26日 0 点赞 0 评论 293 浏览 评分:0.0
数列排序C语言 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a[1000][9],i,j,n,b,m,h,y[1000][9]; scanf("%d",&n); …… 题解列表 2023年11月26日 0 点赞 0 评论 374 浏览 评分:0.0
#第一次写题解 摘要:解题思路:前面刚好有一个与这个类似的题目,那个题目相当是这个题目的正数部分一步一步移位就好了注意事项:看到很多人不知道0x80000000= 0b 1000 0000 0000 0000 0000 0…… 题解列表 2023年11月26日 0 点赞 0 评论 507 浏览 评分:0.0