[编程入门]自定义函数之数字分离-题解(C语言代码) 摘要:解题思路:注意事项:这难道不简单些吗?参考代码:#include <stdio.h>int main(){ int a; scanf("%d",&a); printf("%d %d %d %d ",a…… 题解列表 2020年12月04日 0 点赞 0 评论 239 浏览 评分:0.0
[编程入门]自定义函数之字符类型统计-题解(C语言代码) 摘要:解题思路:注意事项:不用else也是可以的,注意头文件;参考代码:#include <stdio.h>#include <string.h>int fun( char a[100]){ int i,…… 题解列表 2020年12月04日 0 点赞 0 评论 245 浏览 评分:0.0
[编程入门]宏定义之闰年判断-题解(C语言代码) 摘要:解题思路:注意事项:百度一下,闰年的判断条件就会了;参考代码:#include <stdio.h>int main(){ int a; scanf("%d",&a); if(a%4==0 && a%1…… 题解列表 2020年12月04日 0 点赞 0 评论 226 浏览 评分:0.0
[编程入门]ccy打印图案-题解(C语言代码) 摘要:解题思路利用空格和换行符注意事项:注意*的排列位置参考代码:#include<stdio.h>int main(){ printf(" *\n * *\n* * * * *");}…… 题解列表 2020年12月04日 0 点赞 2 评论 285 浏览 评分:7.3
蓝桥杯2013年第四届真题-带分数-题解(C语言代码) 摘要:```cpp #include #include using namespace std; int n; int res = 0; int arr[] = { 1,2,3,4,5…… 题解列表 2020年12月04日 0 点赞 0 评论 533 浏览 评分:0.0
蓝桥杯2018年第九届真题-调手表-题解(C++代码) 摘要:```cpp #include using namespace std; int a[100010]; int n,k,ans=-1; int bfs(){ queueq; q.p…… 题解列表 2020年12月04日 0 点赞 0 评论 568 浏览 评分:9.9
[编程入门]链表合并-题解(C语言代码)只用一个数组,简单易懂! 摘要:解题思路:用结构体struct和冒泡法排序注意事项:参考代码:#include <stdio.h>struct student{ int num; int score;};int main…… 题解列表 2020年12月04日 0 点赞 0 评论 597 浏览 评分:9.2
[编程入门]带参数宏定义练习-题解(Java代码) 摘要:参考代码:import java.util.Scanner;public class Main { public static void swap(int a, int b){ S…… 题解列表 2020年12月04日 0 点赞 0 评论 285 浏览 评分:0.0
[编程入门]宏定义的练习-题解(Java代码) 摘要:参考代码:import java.util.Scanner;public class Main { public static void remainder(int a, int b){ …… 题解列表 2020年12月04日 0 点赞 0 评论 505 浏览 评分:0.0
字符串的输入输出处理-题解(C语言代码)最简洁的思路 包教包会!! 摘要:解题思路:注意事项:①用gets函数来吸收回车②或者清除缓存①用gets函数来吸收回车②或者清除缓存参考代码://法① #include<stdio.h> int main(void) { …… 题解列表 2020年12月04日 0 点赞 2 评论 739 浏览 评分:9.0