2788: 晶晶赴约会 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a; scanf("%d", &a); if (1==a || 3==a || 5==…… 题解列表 2023年11月13日 0 点赞 0 评论 461 浏览 评分:0.0
2787: 有一门课不及格的学生 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b; scanf("%d %d", &a, &b); if (a<60 && b>…… 题解列表 2023年11月13日 0 点赞 0 评论 522 浏览 评分:0.0
c代码记录之自定义函数数字分离-C 摘要:解题思路:注意事项:参考代码:#includevoid output(char num[]) { int i; for(i=0;i<4;i++) printf(…… 题解列表 2023年11月13日 0 点赞 0 评论 443 浏览 评分:0.0
c代码记录之自定义函数字符提取 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<string.h> void imp(char str[],char output[],int n) …… 题解列表 2023年11月13日 0 点赞 0 评论 542 浏览 评分:0.0
计算浮点数相除的余数 摘要:解题思路:按要求做答注意事项:参考代码:#include<stdio.h>#define PI 3.14159void main(){ //计算两个双精度浮点数a和b的相除的余数,a和b都是正数的。 …… 题解列表 2023年11月13日 0 点赞 0 评论 1098 浏览 评分:9.3
简单的圆的计算 摘要:解题思路:注意事项:需要熟悉圆的各类计算部分参考代码:#include<stdio.h>#define PI 3.14159void main(){ double r,n,S,d,C; scanf("…… 题解列表 2023年11月13日 0 点赞 0 评论 893 浏览 评分:9.9
2782: 整数大小比较 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int x,y; scanf("%d %d", &x, &y); if(x>y) pri…… 题解列表 2023年11月12日 0 点赞 0 评论 430 浏览 评分:0.0
蛇形矩阵,找规律输出 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n; scanf("%d",&n); int temp=…… 题解列表 2023年11月12日 0 点赞 0 评论 542 浏览 评分:0.0
[编程入门]有规律的数列求和 (C语言) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int N,d,i,e; double sum,a,b,c; a=2; b=1; …… 题解列表 2023年11月12日 0 点赞 0 评论 469 浏览 评分:0.0
[编程入门]完数的判断 (C语言) 摘要:解题思路:在b<a的循环中,将所有被a%b=0的b累加,得到sum,如果sum=a,则证明a为完数。把a输出。然后用b=c,将b重新赋值为1,将b<a,然后a%b=0的步骤重新来一遍,把所有的b的值输…… 题解列表 2023年11月12日 0 点赞 0 评论 589 浏览 评分:0.0