c代码记录之自定义函数整数处理 摘要:解题思路:注意事项:参考代码:#include<stdio.h> void input(int num[]) { int i; for(i=0;i<10;i++) …… 题解列表 2023年11月14日 0 点赞 0 评论 102 浏览 评分:0.0
2749: Hello, World! 摘要:高级解法之画蛇添足 ``` #include using namespace std; int main(){ string a="Hello",b="World!" co…… 题解列表 2023年11月14日 0 点赞 0 评论 165 浏览 评分:0.0
[简易解法]提取字符串中元音字母 摘要:解题思路:先想想看,如果我们要判断字符串并输出元音字母,我们该怎么做?对了,我们可以先写出字符串再对每一个字符进行判断,如果符合就输出啊!那么如何做到呢:我们需要for循环+if来判断 以及strle…… 题解列表 2023年11月14日 0 点赞 0 评论 254 浏览 评分:0.0
1131: C语言训练-斐波纳契数列 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int N,m=1,n=1,c=1; scanf("%d",&N); if(N==1) pri…… 题解列表 2023年11月14日 0 点赞 0 评论 187 浏览 评分:0.0
c代码记录之自定义函数数字后移 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<stdlib.h> void deal(int num[],int n,int m){ int i…… 题解列表 2023年11月14日 0 点赞 0 评论 175 浏览 评分:0.0
c代码记录之n个数的排序 摘要:解题思路:选择排序法注意事项:参考代码:直接输入一组数进行排序#include<stdio.h> #include<stdlib.h> //创建函数用于数组排序 void sort(in…… 题解列表 2023年11月14日 0 点赞 0 评论 114 浏览 评分:0.0
c代码记录之报数问题 摘要:解题思路:创建一个数组盛放报数人序号,报完数后未被pass的人,其序号被扩充到数组结尾等待下次报数注意事项:参考代码:#include<stdio.h> #include<stdlib.h> …… 题解列表 2023年11月14日 0 点赞 0 评论 88 浏览 评分:0.0
c代码记录之最大数问题 摘要:解题思路:注意事项:-1仅标记输入结束,不参与比较参考代码:#include<stdio.h> #include<stdlib.h> int main(){ int *num; …… 题解列表 2023年11月14日 0 点赞 0 评论 124 浏览 评分:0.0
c代码记录之角谷猜想-C 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int deal(int m){ if(m%2==0){ printf("%d/2=%d\n",m,…… 题解列表 2023年11月14日 0 点赞 0 评论 103 浏览 评分:0.0
题解 3014: 计算星期几 摘要: #include using namespace std; int main(){ long long a,b,c,d=1; cin>>a>>b; …… 题解列表 2023年11月14日 0 点赞 0 评论 212 浏览 评分:0.0