[编程入门]自定义函数之数字后移 摘要:解题思路:注意事项:参考代码:#include <stdio.h> int main() { int n,m,i,a[100],b[100],j; scanf("%d",&n);…… 题解列表 2024年04月25日 0 点赞 0 评论 110 浏览 评分:0.0
[编程入门]自定义函数之字符串连接 摘要:解题思路:注意事项:参考代码:#include <stdio.h> #include <string.h> int main() { char a[1000],b[1000],c[200…… 题解列表 2024年04月25日 0 点赞 0 评论 266 浏览 评分:0.0
[编程入门]自定义函数之字符串反转 摘要:解题思路:注意事项:参考代码:#include <stdio.h> #include <string.h> int main() { char a[100],b[100]; …… 题解列表 2024年04月25日 0 点赞 0 评论 128 浏览 评分:0.0
不知道为什么没有满分,来人看看吧,救救孩子 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;const int N=20;int mp[N][N];bool f[N][N];i…… 题解列表 2024年04月25日 0 点赞 1 评论 599 浏览 评分:0.0
[递归]母牛的故事 摘要:解题思路:前四年的牛为一种可能,四年后的牛为一种可能,第五年开始 这一年的牛的数目等于第四年加上第二年,第六年为第五年加上第二年的,以此类推:第n年的(n>4)为第n-1年的加上第二年乘以(n-4)注…… 题解列表 2024年04月25日 0 点赞 0 评论 126 浏览 评分:0.0
题解 2918: 成绩排序 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ int a; char b[20][20]; int c[20]…… 题解列表 2024年04月25日 1 点赞 0 评论 154 浏览 评分:0.0
位操作交换数字 摘要:解题思路:a^a=0 0^a=a注意事项:参考代码:#include<stdio.h>#define change(a,b) {a=a^b;b=a^b;a=a^b; }int main(){int …… 题解列表 2024年04月26日 0 点赞 0 评论 141 浏览 评分:0.0
用c语言输出字符菱形 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ char a; scanf("%c",&a); printf(" %c",a); printf("\n"); …… 题解列表 2024年04月26日 0 点赞 0 评论 318 浏览 评分:0.0
编写题解 1196: 去掉空格(编程入门) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<string.h> int main() { char arr[101]={0}; cha…… 题解列表 2024年04月26日 0 点赞 0 评论 186 浏览 评分:0.0
无聊的星期六 摘要:解题思路:注意事项:参考代码:# include<stdio.h> int fun(int n) { return (n<=3?n:fun(n-1)+fun(n-3)); } int …… 题解列表 2024年04月27日 0 点赞 0 评论 171 浏览 评分:0.0