编写题解 1049: [编程入门]结构体之时间设计 摘要:解题思路:注意事项:参考代码:#include <stdio.h>// 定义日期结构体struct Date { int year; int month; int day;};// …… 题解列表 2024年09月20日 0 点赞 0 评论 181 浏览 评分:0.0
编写题解 1023: [编程入门]选择排序 摘要:解题思路:注意事项:参考代码:#include<stdio.h>void fun(int a[10]){ int temp; for(int i=0;i<9;i++){ fo…… 题解列表 2024年09月20日 0 点赞 0 评论 253 浏览 评分:0.0
写题解 1011: [编程入门]最大公约数与最小公倍数 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int gcd(int a,int b){ int temp; while(b!=0){ int temp =…… 题解列表 2024年09月20日 0 点赞 0 评论 95 浏览 评分:0.0
编写题解 1025: [编程入门]数组插入处理 摘要:解题思路:注意事项:参考代码:#include<stdio.h>void fun(int a[9],int n){ int i,j; for(i=0;i<9;i++){ if…… 题解列表 2024年09月20日 0 点赞 0 评论 118 浏览 评分:0.0
数组的插入处理Java 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main { public static void main(String[] args…… 题解列表 2024年09月21日 0 点赞 0 评论 189 浏览 评分:0.0
【编程入门】字符串反转(Java版) 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main { public static void main(String[] args…… 题解列表 2024年09月21日 0 点赞 0 评论 166 浏览 评分:0.0
编写题解 1031: [编程入门]自定义函数之字符串反转 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char a[30]; scanf("%s",a); fo…… 题解列表 2024年09月21日 0 点赞 0 评论 246 浏览 评分:0.0
编写题解 1044: [编程入门]三个字符串的排序 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <string.h>void fun(char a[3][100]) { char temp[100]; …… 题解列表 2024年09月21日 0 点赞 0 评论 214 浏览 评分:0.0
java数组的两种声明 摘要:参考代码:import java.util.Scanner; public class Main { public static void main(String[] args) { …… 题解列表 2024年09月21日 0 点赞 0 评论 193 浏览 评分:0.0
蓝桥杯求好数问题 摘要:解题思路:可以用switch语句来解决此题,写一个来计算一个数的位数的函数,写一个计算好数个数的函数,在此函数中需要调用前一个函数用一个数组来保存这个数的奇偶信息,如果为1则该位为奇数,反之,则为偶。…… 题解列表 2024年09月22日 1 点赞 0 评论 271 浏览 评分:0.0