大小写字符转换(大写变小写,其他照样输出) 摘要:解题思路:用一个自定义函数,让大写转小写。注意事项:这个我在编译器上运行一致,结果上传判断我说 答案错误,不知道为什么的我选择在这里留坑。参考代码:void p(char a[])//传地址{ in…… 题解列表 2021年12月04日 0 点赞 0 评论 466 浏览 评分: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,同样利用…… 题解列表 2021年12月04日 0 点赞 0 评论 507 浏览 评分:0.0
蓝桥杯算法训练VIP-比较字符串 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<cstring> #include<algorithm> using namespace std; cha…… 题解列表 2021年12月04日 0 点赞 0 评论 423 浏览 评分:0.0
字母转为下一字母(没错我又来报复社会了) 摘要:解题思路:注意事项:参考代码:int main(){ char a[81]; int i = 0; while ((a[i] = getchar()) != '\n' && i < 8…… 题解列表 2021年12月04日 0 点赞 0 评论 739 浏览 评分:0.0
用 列表来解决,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 评论 1066 浏览 评分:9.9
结论: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 评论 658 浏览 评分:9.5
成绩评定 摘要:解题思路:#include<stdio.h>int main(){ int score; scanf("%d",&score); if(score>=90) { printf("A\n"); } e…… 题解列表 2021年12月04日 0 点赞 0 评论 456 浏览 评分:8.0
弟弟的作业 摘要:#include<stdio.h> int main() { int a,b,c,k,count=0; char op; //操作符 while (~(k=scan…… 题解列表 2021年12月04日 0 点赞 0 评论 554 浏览 评分:0.0
简洁 !!! 摘要:解题思路:注意事项:参考代码:# include <stdio.h>int main (){ int t; int y=0,u=1,m=1; scanf(…… 题解列表 2021年12月04日 0 点赞 0 评论 329 浏览 评分:0.0
看题解学的 摘要:参考代码:#include<stdio.h>#define MAX ((a>b)?((a>c)?a:c):((b>c)?b:c))float FindMax(float a,float b,float…… 题解列表 2021年12月04日 0 点赞 0 评论 416 浏览 评分:0.0