简洁 !!! 摘要:解题思路:注意事项:参考代码:# include <stdio.h>int main (){ int t; int y=0,u=1,m=1; scanf(…… 题解列表 2021年12月04日 0 点赞 0 评论 454 浏览 评分:0.0
弟弟的作业 摘要:#include<stdio.h> int main() { int a,b,c,k,count=0; char op; //操作符 while (~(k=scan…… 题解列表 2021年12月04日 0 点赞 0 评论 720 浏览 评分:0.0
成绩评定 摘要:解题思路:#include<stdio.h>int main(){ int score; scanf("%d",&score); if(score>=90) { printf("A\n"); } e…… 题解列表 2021年12月04日 0 点赞 0 评论 597 浏览 评分:8.0
结论:x*y-x-y 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){int x,y;scanf("%d %d",&x,&y);printf("%d",x*y-x-y); return…… 题解列表 2021年12月04日 0 点赞 4 评论 789 浏览 评分:9.5
用 列表来解决,1054: 二级C语言-计算素数和 摘要:解题思路:注意事项:参考代码:m,n = map(int,input().split())if m > n: m,n = n,mif m<=1: m = 2list0 = []list1 …… 题解列表 2021年12月04日 0 点赞 0 评论 1204 浏览 评分:9.9
字母转为下一字母(没错我又来报复社会了) 摘要:解题思路:注意事项:参考代码:int main(){ char a[81]; int i = 0; while ((a[i] = getchar()) != '\n' && i < 8…… 题解列表 2021年12月04日 0 点赞 0 评论 910 浏览 评分:0.0
蓝桥杯算法训练VIP-比较字符串 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<cstring> #include<algorithm> using namespace std; cha…… 题解列表 2021年12月04日 0 点赞 0 评论 545 浏览 评分:0.0
题解 1011: [编程入门]最大公约数与最小公倍数 (简单穷举求解!!!) 解题思路:求最大公约数i从1开始到min{m,n},利用强制转换,(float)m/i==m/i并且(float)n/i==n/i,则i为一个公约数;求最小公倍数i从min{m,n}到m*n,同样利用强制转换,(float)i/m==i/m并且(float)i/n==i/n, 题解列表 2021年12月04日 0 点赞 0 评论 649 浏览 评分:0.0
大小写字符转换(大写变小写,其他照样输出) 摘要:解题思路:用一个自定义函数,让大写转小写。注意事项:这个我在编译器上运行一致,结果上传判断我说 答案错误,不知道为什么的我选择在这里留坑。参考代码:void p(char a[])//传地址{ in…… 题解列表 2021年12月04日 0 点赞 0 评论 602 浏览 评分:0.0
实数的打印 c语言 摘要:解题思路:这个和打印hello world 我用的一个思路,目的达到了,答案可能不妥注意事项:参考代码:#include<stdio.h>int main(){ float a; scanf("%f"…… 题解列表 2021年12月04日 0 点赞 0 评论 619 浏览 评分:0.0