优质题解 题解1153: C语言训练-谁家孩子跑最慢*(C-两种解法) 摘要:# C语言:谁家孩子跑最慢 ## 题目: 张、王、李三家各有三个小孩。一天,三家的九个孩子在一起比赛短跑。 规定不分年龄大小,跑第一得9分,跑第2得8分,依此类推。 比赛结果…… 题解列表 2022年08月31日 1 点赞 0 评论 1901 浏览 评分:8.7
1114: C语言考试练习题_排列 摘要:```cpp #include using namespace std; int main() { int i,j,k,t,a[4]; for(i=0;i>a[i]; …… 题解列表 2022年09月10日 0 点赞 0 评论 672 浏览 评分:8.7
弟弟的作业 (Java代码)——附带详细解析 摘要:解题思路:熟悉几个新的字符串方法的调用注意事项: * indexOf() 方法有以下四种形式: * public int indexOf(int ch): 返回指定字符在字符串中第一次出现处的索引,如…… 题解列表 2022年09月19日 0 点赞 0 评论 1103 浏览 评分:8.7
[编程入门]结构体之时间设计 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ struct years { ; int year; i…… 题解列表 2022年09月19日 0 点赞 0 评论 454 浏览 评分:8.7
优质题解 【C语言】最多的水:本质上是算最大面积 - DotcppXF 摘要:【解题思路】 ① 其实题目很简单,但是题目描述写的不太严谨,一开始很迷惑,怎么直线能成为容器了?水量的单位是啥? ② 后来大概明白要干啥后,不如重新表述一下题目:给定n个非…… 题解列表 2022年10月06日 0 点赞 0 评论 853 浏览 评分:8.7
003: [编程入门]密码破译 摘要:解题思路:注意事项:前面char过了,后面就不用char了参考代码:#include <iostream> using namespace std;int main(){char C,h,i,n,a;…… 题解列表 2022年10月07日 0 点赞 0 评论 671 浏览 评分:8.7
汽水瓶(java) 摘要:解题思路:注意事项:参考代码: import java.util.Scanner; public class Main{ public static void main…… 题解列表 2022年10月14日 0 点赞 0 评论 503 浏览 评分:8.7
利用printf函数实现Hello World 摘要:解题思路:利用printf函数注意事项:注意换行符即可参考代码:#include<stdio.h>int main(){ printf("**************************\n"…… 题解列表 2022年10月25日 0 点赞 1 评论 280 浏览 评分:8.7
2925: 单词排序 摘要:解题思路:注意事项:参考代码://字符串的排序(冒泡排序) #include <stdio.h> #include <string.h> int main() { int n = 0…… 题解列表 2022年10月28日 0 点赞 2 评论 619 浏览 评分:8.7
阶乘和数*(第二个数不知道为什么出不来,思路很简单) 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int f(int n) //阶乘 { int …… 题解列表 2022年10月29日 0 点赞 0 评论 546 浏览 评分:8.7