2046:——输出全排列 摘要: import java.util.Scanner; public class Main{ public static void main(String[] args) {…… 题解列表 2023年05月28日 0 点赞 0 评论 349 浏览 评分:9.9
自定义函数之字符类型统计 摘要:解题思路:注意事项: Java isLetter()方法用于判断指定字符是否为字母 Java isDigit()方法用于判断指定字符是否为数字 …… 题解列表 2023年05月27日 0 点赞 0 评论 235 浏览 评分:0.0
用vector容器写的 摘要:解题思路:原题链接:Hello,world!注意事项:熟悉vector的用法参考代码:#include<iostream>#include<vector>using namespace std;int…… 题解列表 2023年05月27日 0 点赞 0 评论 311 浏览 评分:9.9
c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n, j = 0, sum = 0,i=0; scanf("%d", &n); whi…… 题解列表 2023年05月27日 0 点赞 0 评论 165 浏览 评分:0.0
c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int max(int x, int y){ return x >= y ? x : y;}int main(){ char str1[…… 题解列表 2023年05月27日 0 点赞 0 评论 217 浏览 评分:9.9
数组加for循环 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,i,k=0; int a,b,c[100]; scanf("%d",&n); …… 题解列表 2023年05月27日 0 点赞 0 评论 670 浏览 评分:9.9
水仙花数"问题2 摘要:解题思路:和上一题相同的解法只不过多加了一条for循环注意事项:参考代码:// 判断一个数是否为"水仙花数",所谓"水仙花数"是指这样的一个数:首先是一个三位数,其次,// 其各位数字的立方和等于该数…… 题解列表 2023年05月27日 0 点赞 0 评论 169 浏览 评分:0.0
1159基础解法(Python) 摘要:解题思路:滑动区间的思想即可注意事项:注意解题的限制参考代码:import sysfor data in sys.stdin : a, b = map(int, data.split()) …… 题解列表 2023年05月27日 0 点赞 0 评论 336 浏览 评分:0.0
平均值计算 摘要:解题思路:用数组来接收键盘输入的10个数然后遍历数组即可得出结论若有什么不正确的请指出来谢谢哈注意事项:参考代码:// 输入10个整数,求它们的平均值,并输出大于平均值的数据的个数。#include …… 题解列表 2023年05月27日 0 点赞 0 评论 196 浏览 评分:0.0
三个数找最大值 摘要:解题思路:注意事项:求大佬解惑就是后面的那个for循环的i的范围为什么从0if语句中(a[i]>a[i+1]){max =a[i+1];}这么写为什么不全对参考代码:// 一行数组,分别为a b c#…… 题解列表 2023年05月27日 0 点赞 0 评论 146 浏览 评分:0.0