简单易懂!!! 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int t,a[3]={0}; scanf("%d",&t); …… 题解列表 2023年02月19日 0 点赞 0 评论 581 浏览 评分:0.0
骑车与走路 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n; scanf("%d",&n);int bx = n / 1.2;int bike = n / 3.…… 题解列表 2023年02月20日 0 点赞 0 评论 564 浏览 评分:0.0
分段函数 -- 简单明了 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ double n; scanf("%lf",&n); if(0<=n && n<5) / /注…… 题解列表 2023年02月20日 0 点赞 0 评论 574 浏览 评分:0.0
C语言实现 题解 1010: [编程入门]利润计算 摘要:解题思路:分段分别计算即可注意事项:无参考代码:#include<stdio.h>int main(void){ int I; int m; scanf("%d",&I); if(I>0&&I<=10…… 题解列表 2023年02月20日 0 点赞 0 评论 512 浏览 评分:0.0
年龄与疾病 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int n,a[100],i; double z=0; double x=0; double c=0; do…… 题解列表 2023年02月20日 0 点赞 0 评论 501 浏览 评分:0.0
向量点积计算 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int n,a[1000],b[1000],c[1000]; int i,sum=0; scanf("%d",…… 题解列表 2023年02月20日 0 点赞 0 评论 629 浏览 评分:0.0
创建vector数组对n进行分配并搜索 摘要:解题思路:空间换时间,使用创建多个vector存储求完数位和的数,从1开始计算,由于同一数位和的数小的一定在前面,所以直接push_back尾部插入. 插入完成后再用循环对vector的…… 题解列表 2023年02月20日 0 点赞 0 评论 600 浏览 评分:0.0
最大值和最小值的差 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int n,a[10000],i; int max; int min; int difference; sc…… 题解列表 2023年02月20日 0 点赞 0 评论 576 浏览 评分:0.0
scanf和gets的混合使用 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ char a[1001]; int n; scanf("%d",&n);//scanf结束回车…… 题解列表 2023年02月21日 0 点赞 0 评论 641 浏览 评分:0.0
买图书的小明 摘要:解题思路:注意事项:参考代码:#includeint main(){ double n,m,s; scanf("%lf %lf",&n,&m); s=n-0.8*m; if(n==10&&m==1) …… 题解列表 2023年02月21日 0 点赞 0 评论 674 浏览 评分:0.0