很简单的c++方法写的代码 清晰的思路 希望大佬们可以一起讨论 摘要: #include using namespace std; #include int main() { int a; int s…… 题解列表 2023年06月01日 0 点赞 0 评论 256 浏览 评分:0.0
霸道坤坤爱上猴 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b; scanf("%d%d", &a, &b); if(a>=10||b>=20…… 题解列表 2023年06月01日 0 点赞 0 评论 316 浏览 评分:9.9
蓝桥杯2022年第十三届决赛真题-齿轮 摘要:解题思路:先把半径排序,把每个半径i进行约数分解,如果半径i的某个约数是之前出现过的半径j(j<=i), 则i/j倍可行,由于i/j也是i的约数,所以j倍也可行。注意事项:输入要用scanf,用cin…… 题解列表 2023年06月01日 0 点赞 0 评论 584 浏览 评分:9.9
比较麻烦但是比较好想的C语言代码 摘要:解题思路:注意事项:参考代码: #include<stdio.h> #include<math.h> #include<string.h> int Max(int num[]) { in…… 题解列表 2023年06月01日 0 点赞 1 评论 132 浏览 评分:0.0
简洁:找规律 摘要:解题思路:比较两个字符,若这两个字符相等,那么不必操作,若这两个字符不等,则比较后面两个字符串的后一位,如也相等,则替换,否则,删除,同时操作数加1。参考代码:#include <bits/stdc+…… 题解列表 2023年06月01日 0 点赞 0 评论 230 浏览 评分:0.0
编写题解 2898: 二维数组回形遍历 摘要:解题思路:输出的数重置为0,遇到0则跳过分四种情况参考了一位大佬思路注意事项:参考代码:#include<iostream>int a[100][100]={0};int main(){ int r,…… 题解列表 2023年05月31日 0 点赞 1 评论 349 浏览 评分:9.9
c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <string.h>int main() { int i, j, k, start = 0, end, max…… 题解列表 2023年05月31日 0 点赞 0 评论 285 浏览 评分:0.0
每天2道程序题的纯小白写的代码(我觉得好详细)(模拟题里思路) 摘要:解题思路:思路就是题里的思路,一直减,然后除17我就是直接模拟题里的要求,尽管会很麻烦,但是我觉得还是挺好的注意事项:参考代码:#include<stdio.h> #include<string.h…… 题解列表 2023年05月31日 0 点赞 2 评论 265 浏览 评分:9.9
1025 [编程入门]数组插入处理 摘要:步骤: 1.定义数组分配空间 2.按顺序输入数组元素(1 7 8 17 23 24 59 62 101) 3.输入要插入的元素(50) 4..让数组长度+1(a = Array…… 题解列表 2023年05月31日 0 点赞 0 评论 597 浏览 评分:9.9
第十二届国赛真题-异或变换 摘要:解题思路:存在一个最小的整数x,使得pow(2,x)>=n,则每隔pow(2,x)就会循环一次。注意事项:参考代码:#include<iostream>#include<cstring>using n…… 题解列表 2023年05月31日 0 点赞 0 评论 305 浏览 评分:10.0