1097: 蛇行矩阵(C语言版) 摘要:简单的找规律 具体代码: ```c #include void main() { int n; while (scanf("%d", &n) != EOF) {…… 题解列表 2022年02月09日 0 点赞 0 评论 504 浏览 评分:9.9
1096: Minesweeper(c++版) 摘要:**题意:** 挖地雷"这个游戏的目的是在M*N的地雷区格子中找出所有的地雷。为了要帮助你,这个游戏会在非地雷的格子上有些数字,告诉你这一个格子的邻居共有多少个地雷。例如:以下4*4…… 题解列表 2022年02月09日 0 点赞 0 评论 522 浏览 评分:9.9
1095: The 3n + 1 problem(C语言版) **题意:**1、对于整数n,如果n是偶数,则除以2。如果n是奇数,乘以3加1,当n=1时终止。2、输入:整数i和j3、循环长度是指在1之前(包括1)生成的数。3、输出:输出i和j的顺序与i和j之间的整数的最大循环长度,三个数字用一个空格分4、有多组输入输出5、Allintegerswillbeles 题解列表 2022年02月09日 0 点赞 0 评论 748 浏览 评分:6.0
1094: 字符串的输入输出处理 摘要:**解题思路:** 前面n个字符串原样输出,可能有空格,每次循环用gets()输入一串,用puts()输出一串 后面的字符串不带空格,选用scanf("%s")输入,遇到空格后,后面的内容在缓存区…… 题解列表 2022年02月09日 0 点赞 0 评论 574 浏览 评分:0.0
python-矩阵计数 摘要:解题思路:参考连接https://blog.csdn.net/shamansi99/article/details/116561214这篇博客中写的很详细,大家可以去看看。注意事项:参考代码:n,m …… 题解列表 2022年02月09日 0 点赞 0 评论 678 浏览 评分:7.3
1093: 字符逆序(C语言版) **具体代码:**```c#include#includeintmain(){charstr[100];gets(str);for(inti=strlen(str)-1;i>=0;i--)printf("%c",str[i]);return0;}``` 题解列表 2022年02月09日 0 点赞 0 评论 561 浏览 评分:0.0
1084: 用筛法求之N内的素数(c++版) 摘要:** 具体代码:** ```cpp #include using namespace std; int main() { int n; cin >> n; for (int i …… 题解列表 2022年02月09日 0 点赞 0 评论 454 浏览 评分:0.0
1464: 蓝桥杯基础练习VIP-分解质因数 解法一:(利用递归,写法稍微麻烦)```c#includeintjudge_prime(intn){intcount=0;for(intj=2;j 题解列表 2022年02月09日 0 点赞 0 评论 624 浏览 评分:9.9 1490: 蓝桥杯算法提高VIP-五次方数 摘要:解题思路:注意事项:参考代码:for i in range(2,300000): s=0 for j in str(i): s += int(j)**5 …… 题解列表 2022年02月09日 0 点赞 0 评论 515 浏览 评分:0.0 Hifipsysta-1585-蓝桥杯算法训练VIP-链表数据求和操作(C++代码)真链表数据域求和 ```cpp#includeusingnamespacestd;constintMAXN=100;structnode{intreal;intimag;node*next;};intarr_real[MAXN],arr_imag[MAXN];node*create(intarr_real[], 题解列表 2022年02月09日 0 点赞 0 评论 600 浏览 评分:0.0 « 12...2501250225032504250525062507...59115912 »
1490: 蓝桥杯算法提高VIP-五次方数 摘要:解题思路:注意事项:参考代码:for i in range(2,300000): s=0 for j in str(i): s += int(j)**5 …… 题解列表 2022年02月09日 0 点赞 0 评论 515 浏览 评分:0.0
Hifipsysta-1585-蓝桥杯算法训练VIP-链表数据求和操作(C++代码)真链表数据域求和 ```cpp#includeusingnamespacestd;constintMAXN=100;structnode{intreal;intimag;node*next;};intarr_real[MAXN],arr_imag[MAXN];node*create(intarr_real[], 题解列表 2022年02月09日 0 点赞 0 评论 600 浏览 评分:0.0