自定义函数之数字后移 摘要:解题思路:运用循环队列思想;空间换时间。注意事项:取余时公式参考代码:#include <stdio.h>#include <iostream>using namespace std;int main…… 题解列表 2023年03月11日 0 点赞 0 评论 196 浏览 评分:0.0
LikeWater - 1728: 字符串的查找删除C++(明明是个简单题,但是不知道为啥我写了很久,不能怪我**,只能怪这个题目小绕) 摘要:####又是用的字符串对象,可以参照上一篇文章。 ```cpp #include #include #include #include using namespace std; int …… 题解列表 2023年03月11日 0 点赞 1 评论 221 浏览 评分:9.9
编写题解 3035: LETTERS 摘要:解题思路:注意事项: 这个题目每个map[i][j]遍历顺序不同会影响结果, 不要使用vis[][]来记录是否走过!参考代码:import java.util.ArrayList;im…… 题解列表 2023年03月11日 0 点赞 0 评论 308 浏览 评分:0.0
用数组的方法来解决(c语言)很详细的代码 摘要:解题思路:定义一个浮点型的数组,然后进行循环输入,通过定义的sum进行求和然后除以12即可注意事项:记住有$符号,不要搞忘记了 ps:我就是在这搞忘的这个,还以为我的思路有问题。。。。。参考代…… 题解列表 2023年03月11日 0 点赞 0 评论 307 浏览 评分:0.0
蓝桥杯做题笔记2n皇后 摘要: import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.IOException; impor…… 题解列表 2023年03月11日 0 点赞 0 评论 275 浏览 评分:0.0
1670: 拆分位数 摘要:#include<stdio.h> int main() { //scanf("%d",&n); char a,b,c; a=getchar(); …… 题解列表 2023年03月11日 0 点赞 0 评论 205 浏览 评分:0.0
1011: [编程入门]最大公约数与最小公倍数 摘要:#include<stdio.h> int main() { int a,b,m,n; int gcd(int x,int y);//函数声明 int lcm(int…… 题解列表 2023年03月11日 0 点赞 0 评论 123 浏览 评分:0.0
蛇形矩阵(简单赋值思路) 摘要:解题思路:先寻找赋值规律例如:n=3,t=1;赋值顺序:i=0,j=0,a[i][j]=t++ i=1,j=0,a[i][j]=t++   题解列表 2023年03月11日 0 点赞 0 评论 242 浏览 评分:0.0
奇数偶数和 摘要:解题思路: 用两次循环分别跑一遍奇数和与偶数和注意事项:参考代码: #include<stdio.h>int main(){ int m,i,j; int a=0,n=0; …… 题解列表 2023年03月11日 0 点赞 0 评论 192 浏览 评分:0.0
哥们 看看我为啥运行错误 凑啊 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;string s ="abcdefghijklmnopqrstuvwxyz";cha…… 题解列表 2023年03月11日 0 点赞 0 评论 242 浏览 评分:0.0