弟弟的作业 (Java代码)——附带详细解析 摘要:解题思路:熟悉几个新的字符串方法的调用注意事项: * indexOf() 方法有以下四种形式: * public int indexOf(int ch): 返回指定字符在字符串中第一次出现处的索引,如…… 题解列表 2022年09月19日 0 点赞 0 评论 1017 浏览 评分:8.7
[编程入门]结构体之时间设计 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ struct years { ; int year; i…… 题解列表 2022年09月19日 0 点赞 0 评论 398 浏览 评分:8.7
优质题解 【C语言】最多的水:本质上是算最大面积 - DotcppXF 摘要:【解题思路】 ① 其实题目很简单,但是题目描述写的不太严谨,一开始很迷惑,怎么直线能成为容器了?水量的单位是啥? ② 后来大概明白要干啥后,不如重新表述一下题目:给定n个非…… 题解列表 2022年10月06日 0 点赞 0 评论 745 浏览 评分:8.7
003: [编程入门]密码破译 摘要:解题思路:注意事项:前面char过了,后面就不用char了参考代码:#include <iostream> using namespace std;int main(){char C,h,i,n,a;…… 题解列表 2022年10月07日 0 点赞 0 评论 572 浏览 评分:8.7
汽水瓶(java) 摘要:解题思路:注意事项:参考代码: import java.util.Scanner; public class Main{ public static void main…… 题解列表 2022年10月14日 0 点赞 0 评论 377 浏览 评分:8.7
利用printf函数实现Hello World 摘要:解题思路:利用printf函数注意事项:注意换行符即可参考代码:#include<stdio.h>int main(){ printf("**************************\n"…… 题解列表 2022年10月25日 0 点赞 1 评论 219 浏览 评分:8.7
2925: 单词排序 摘要:解题思路:注意事项:参考代码://字符串的排序(冒泡排序) #include <stdio.h> #include <string.h> int main() { int n = 0…… 题解列表 2022年10月28日 0 点赞 2 评论 568 浏览 评分:8.7
阶乘和数*(第二个数不知道为什么出不来,思路很简单) 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int f(int n) //阶乘 { int …… 题解列表 2022年10月29日 0 点赞 0 评论 357 浏览 评分:8.7
奥运奖牌计数(超简单,很容易看懂) 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){ int n,a,b,c; int a1=0,b1=0,c1=0…… 题解列表 2022年11月05日 0 点赞 0 评论 977 浏览 评分:8.7
3个数找最大值 摘要:解题思路:#include<stdio.h>int main(){ int a,b,c,d; scanf("%d%d%d",&a,&b,&c); d=a>b?a:b; d=d>…… 题解列表 2022年11月07日 0 点赞 0 评论 354 浏览 评分:8.7