单词排序(Java) 摘要:解题思路:先以空格分隔字符串,转为数组,接着去除多余空格,排序·然后去除重复单词注意事项:一直通过不了但没找出问题,求助!!!参考代码:import java.util.Arrays;import j…… 题解列表 2023年06月15日 0 点赞 0 评论 292 浏览 评分:2.0
2873: 字符串p型编码 摘要:解题思路: 遍历遍历过程中,判断当前字符str[i]是否与下一个字符str[i + 1]相同。如果相同,表示当前字符连续出现,将计数器count加1。如果不相同,表示当前字符不再连续出现,将当前计数值…… 题解列表 2023年07月08日 0 点赞 0 评论 215 浏览 评分:2.0
感谢支持,谢谢你们的支持 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){ int k, a = 1, b = 1, c = 1; …… 题解列表 2023年07月09日 0 点赞 0 评论 340 浏览 评分:2.0
++++++++++++++++++++买笔问题++++++++++++++++++++ 摘要:解题思路:#include<stdio.h>int main(){ int x,a,b,c,i=0,j=0,k=0; scanf("%d",&x); for(a=0;a<=x/6;a…… 题解列表 2023年07月11日 0 点赞 0 评论 234 浏览 评分:2.0
2835: 计算书费 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std; double a[10]= { 28.9,32.7,45.6,78,35,86…… 题解列表 2023年07月17日 0 点赞 0 评论 184 浏览 评分:2.0
2821: 开关灯 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int a[10000000];int main(){ int n,m; …… 题解列表 2023年07月18日 0 点赞 0 评论 164 浏览 评分:2.0
1099: 校门外的树(勿看,半成品) 摘要:解题思路:#include <bits/stdc++.h>// using namespace std; int ji[10000000]; int main() { int l,m…… 题解列表 2023年07月19日 0 点赞 0 评论 110 浏览 评分:2.0
C语言解组合的输出 摘要:解题思路:注意事项:注意输出格式参考代码:#include <stdio.h>#include <stdbool.h>int n,r;bool judge[25];int b[25];void arr…… 题解列表 2023年07月20日 0 点赞 0 评论 425 浏览 评分:2.0
2881: 图像相似度 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int a[100][100];int b[100][100];int main(…… 题解列表 2023年07月20日 0 点赞 0 评论 179 浏览 评分:2.0
闲来无事的题解 摘要:解题思路:注意事项:参考代码:long long a,b; //长整形(100000000000000000000-(-100000000000000000000))int a,b; //普通整…… 题解列表 2023年07月21日 0 点赞 0 评论 178 浏览 评分:2.0