蓝桥杯算法训练VIP-字符删除 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include<string.h>int main(){ char n[100]; char m[100]; ch…… 题解列表 2021年12月12日 0 点赞 0 评论 469 浏览 评分:0.0
最长字符串 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include<string.h>int main(){ char n[5][100]; int s=0; for(…… 题解列表 2021年12月12日 0 点赞 0 评论 343 浏览 评分:0.0
编写题解 1165: 明明的随机数(C++) 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<cstdio> #include<set> using namespace std; set<int> s…… 题解列表 2021年12月12日 0 点赞 0 评论 423 浏览 评分:9.9
编写题解 1159: 偶数求和(C++) 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<cstdio> using namespace std; int main(){ int a,b,n=0…… 题解列表 2021年12月12日 0 点赞 0 评论 823 浏览 评分:0.0
使用队列思想解题(JAVA代码) 摘要:解题思路:* 思路: * * 整个字符串可以看成很多段无重复的字串重叠拼接而成 * 只要筛选出最长的字串就可以了 * 如:asdfgdfg 字串是:asdfg,fgd,gdf,dfg * *…… 题解列表 2021年12月12日 0 点赞 0 评论 447 浏览 评分:9.9
数列排序(C++) 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<vector> #include<cstdio> using namespace std; vector<…… 题解列表 2021年12月12日 0 点赞 0 评论 393 浏览 评分:0.0
理解怎样在判断时只输出一次 摘要:解题思路:因为数组是已排列好的,所以只需要找出需要插入的位置,通过循环比较找出位置,在循环中判段循环注意只输出一次。即可注意事项:参考代码:#include<stdio.h>int main(){in…… 题解列表 2021年12月12日 0 点赞 0 评论 360 浏览 评分:9.9
1071: 二级C语言-阶乘公式求值 摘要:注意 fact 函数的返回值类型是 double。(不是 double 的话 100 的测试值无法通过)#include<bits/stdc++.h> using namespace std; …… 题解列表 2021年12月12日 0 点赞 0 评论 334 浏览 评分:0.0
1067: 二级C语言-分段函数 摘要:#include<bits/stdc++.h> using namespace std; int main() { double x; cin >> x; if…… 题解列表 2021年12月12日 0 点赞 0 评论 299 浏览 评分:0.0
1047: [编程入门]报数问题 摘要:import java.io.*; /** * 公式法直接解决。 */ public class Main { public static BufferedReader …… 题解列表 2021年12月11日 0 点赞 0 评论 733 浏览 评分:9.9