字符串的修改(C语言)(简单易懂)(详细)(已重新修改) 摘要:解题思路:题目的最终结果:对任给的两个字符串A和B,计算出将字符串A变换为字符串B所用的最少字符操作次数。就是说要把两个字符串变为一模一样。首先个数一定要一样!参考代码: x1=strlen(…… 题解列表 2021年11月07日 0 点赞 7 评论 1427 浏览 评分:8.0
成绩等级转换Switch语句练习题解 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int x,y; while (scanf("%d",&x)!=EOF){ y=x/10;…… 题解列表 2021年11月07日 0 点赞 0 评论 742 浏览 评分:2.0
编辑入门 成绩评定】 摘要:参考代码:#include<stdio.h>void main(){ int a; scanf("%d",&a); if(a>=90) printf("A\n"); if(a>=8…… 题解列表 2021年11月07日 0 点赞 0 评论 298 浏览 评分:0.0
编程入门成绩评定 摘要:解题思路:简单的运用if来解决注意事项:仔细一些注意符号,英文是否都参考代码#include<stdio.h> /*头文件*/void main() …… 题解列表 2021年11月07日 0 点赞 0 评论 704 浏览 评分:8.7
编辑入门 成绩评定 摘要:解题思路:用if语句注意事项:需要搞懂其中的逻辑参考代码:#include <stdio.h>void main(){ int a; scanf("%d",&a); if (a>=90) printf…… 题解列表 2021年11月07日 0 点赞 0 评论 308 浏览 评分:0.0
二级C语言-分段函数题解 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ float x,y; scanf("%f",&x); if(…… 题解列表 2021年11月07日 0 点赞 0 评论 395 浏览 评分:2.0
二级c语言-分段函数题解 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ float x,y; scanf("%f",&x); if(x<1) y=x; …… 题解列表 2021年11月07日 0 点赞 0 评论 324 浏览 评分:2.0
1850没想到大意在换行上面C语言 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main (){ int a,b,c;while (~scanf ("%d/%d/%d",&a,&b,&c)) { …… 题解列表 2021年11月07日 0 点赞 0 评论 422 浏览 评分:9.9
2001,好懂的方法 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include<math.h>int main(){ int a,b,c; scanf("%d%d%d",&a,&b,&…… 题解列表 2021年11月06日 0 点赞 0 评论 329 浏览 评分:0.0
自定义函数之数字后移【题解】 摘要:假如我往后移动m个数,我先把后面的m个数放到一个新的数组的前面,m在a数组中也就是排在x-m位,x是我输入数的个数。排完之后把前面的x-m-1个数往新数组的后面排即可。 **本题难点在于数字在数组的…… 题解列表 2021年11月06日 0 点赞 0 评论 351 浏览 评分:9.9