盾神与积木游戏C++ 摘要:解题思路:排序思路:按(拥有积木数-需要积木数)由大至小对小朋友进行排序,这样需要得到帮助积木多的小朋友就排在后面,前面的小朋友可以积累更多的帮助积木给后面的小朋友注意事项:参考代码:#include…… 题解列表 2024年09月21日 0 点赞 0 评论 274 浏览 评分:9.9
放苹果的思路 摘要:参考代码:import java.util.Scanner;public class Main { // 用于记录总的分配方案数 static int nums; public st…… 题解列表 2024年09月21日 0 点赞 0 评论 398 浏览 评分:9.9
编写题解 1054: 二级C语言-计算素数和(Java代码) 摘要:参考代码:import java.util.Scanner; public class Main { public static void main(String[] args) { …… 题解列表 2024年09月21日 0 点赞 0 评论 451 浏览 评分:9.9
编写题解 1049: [编程入门]结构体之时间设计(Java代码-简单易懂) 摘要:参考代码:import java.util.Scanner; //定义一个结构体 年 月 日 class Date{ int year; int month; int date; …… 题解列表 2024年09月20日 0 点赞 0 评论 356 浏览 评分:9.9
编写题解 1032: [编程入门]自定义函数之字符串连接 摘要:解题思路:注意事项:参考代码:#include<stdio.h>void connect(char a[],char b[]){ int i,j=0; while(a[i]!=0)…… 题解列表 2024年09月20日 0 点赞 0 评论 371 浏览 评分:9.9
编写题解 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 评论 200 浏览 评分:0.0
写题解 1011: [编程入门]最大公约数与最小公倍数 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int gcd(int a,int b){ int temp; while(b!=0){ int temp =…… 题解列表 2024年09月20日 0 点赞 0 评论 189 浏览 评分: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 评论 394 浏览 评分:0.0
编写题解 1049: [编程入门]结构体之时间设计 摘要:解题思路:注意事项:参考代码:#include <stdio.h>// 定义日期结构体struct Date { int year; int month; int day;};// …… 题解列表 2024年09月20日 0 点赞 0 评论 303 浏览 评分:0.0
最简单的傻瓜题解,瓜保熟,看一眼不会我倒立洗头 摘要:解题思路:最呆瓜简单直接的一种方法,就是一个一个去定义每一个字符串,然后赋值上去,再按照原顺序的倒序排列给输出出来。看着最终答案效果写过程也是没谁了哈哈哈O.o此想法由糯智本人脑抽提出,由强力室友完善…… 题解列表 2024年09月20日 0 点赞 3 评论 556 浏览 评分:9.9