[编程入门]选择排序 摘要:解题思路:注意事项:参考代码:#define _CRT_SECURE_NO_WARNINGS 1#include<stdio.h>#define M 10int main(){ int a[M],…… 题解列表 2021年11月10日 0 点赞 0 评论 342 浏览 评分:0.0
[编程入门]自定义函数处理最大公约数与最小公倍数 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int fun1(int m,int n); //这要声明两个函数。也可以像下面那样写int fun2(int m,int n);…… 题解列表 2021年11月10日 0 点赞 0 评论 573 浏览 评分:0.0
[编程入门]自定义函数之字符串反转 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h> int exchange(char a[],char b[]){ int i,l,j = 0…… 题解列表 2021年11月10日 0 点赞 0 评论 376 浏览 评分:0.0
[编程入门]自定义函数之字符类型统计 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h> void statistics(char *str, int *num_char, int *nu…… 题解列表 2021年11月10日 0 点赞 0 评论 404 浏览 评分:0.0
[编程入门]实数的打印 摘要:解题思路:注意事项:参考代码:#include <stdio.h> int main(){ float num; //定义数字,类型为 float 题解列表 2021年11月10日 0 点赞 0 评论 335 浏览 评分:0.0
1140不可投机取巧 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a, b, c, d; int i; for (i = 95860 ; i <= 99…… 题解列表 2021年11月10日 0 点赞 0 评论 540 浏览 评分:0.0
[编程入门]自定义函数之数字后移-题解(Python代码) 摘要:解题思路:用列表来解决,清晰易懂注意事项:参考代码:n = int(input())x = map(int,input().split())m = int(input())list_1 = list(…… 题解列表 2021年11月10日 0 点赞 0 评论 339 浏览 评分:0.0
1149管我scanf(“”“”,N)漏了个&,我去 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main (){ int N,sum=0,i;scanf("%d",&N); for (i=1;i<=N;i++) { if…… 题解列表 2021年11月10日 0 点赞 0 评论 770 浏览 评分:0.0
用字符切片来解决 摘要:解题思路:注意事项:参考代码:n = int(input())x = str(input())m = int(input())print(x[m-1:])…… 题解列表 2021年11月10日 0 点赞 0 评论 437 浏览 评分:0.0
二级C语言-温度转换 摘要:解题思路:注意事项:参考代码:#include <iostream>#include <iomanip>using namespace std;int main(){ double m,n; cin>…… 题解列表 2021年11月10日 0 点赞 0 评论 432 浏览 评分:0.0