蓝桥杯算法训练VIP-特殊的数字四十 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,a,b,c,d; for(i=1000;i<=9999;i++) { …… 题解列表 2023年01月07日 0 点赞 0 评论 391 浏览 评分:9.9
循环入门练习1 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,s=0; for(i=0;i<=1000;i++) { …… 题解列表 2023年01月07日 0 点赞 0 评论 418 浏览 评分:0.0
循环入门练习2 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,s=0; for(i=0;i<=1000;i++) { …… 题解列表 2023年01月07日 0 点赞 0 评论 342 浏览 评分:0.0
循环入门练习3 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,s=0,n; scanf("%d",&n); for(i=0;i<=n…… 题解列表 2023年01月07日 0 点赞 0 评论 400 浏览 评分:9.9
循环入门练习4 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,s=0,n; scanf("%d",&n); for(i=0;i<=n…… 题解列表 2023年01月07日 0 点赞 0 评论 571 浏览 评分:9.9
鸡尾酒疗法,简单方法 摘要:解题思路:注意事项:用整形数据进行除法是要在前面乘以1.0。将其换成浮点型的数据也是可以的。参考代码:#include<stdio.h>int main(){ int n,i,a,b,x,y; …… 题解列表 2023年01月07日 0 点赞 0 评论 551 浏览 评分:2.6
2153: 信息学奥赛一本通T1325-循环比赛日程表 摘要:解题思路:分治,ma[x][y]=ma[x][y-k]+k,ma[x][y]=ma[x-k][y]+k,ma[x][y]=ma[x-k][y-k] 要就复制吧,爱就点赞吧!注意事项:参考代码:#in…… 题解列表 2023年01月07日 0 点赞 0 评论 649 浏览 评分:9.8
2177走迷宫 简单BFS(注释很详细) 摘要:在求解最短路问题时,深度优先搜索会反复经过相同的状态,广度优先搜索只会遍历每个点一遍,所以对于该类问题,深度优先搜索性能不如广度优先搜索好,广度优先搜索适合求解该类问题.显然这道题用BFS更好./*B…… 题解列表 2023年01月07日 0 点赞 0 评论 608 浏览 评分:9.9
[编程基础]输入输出练习之输出图案 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ char c; scanf("%c",&c); printf(" %c\n",c…… 题解列表 2023年01月07日 0 点赞 0 评论 876 浏览 评分:8.0
编写题解 1018: [编程入门]有规律的数列求和 摘要:解题思路:注意事项:参考代码:#include<iostream>#include <iomanip>using namespace std;int main() { int N; cin>>N; d…… 题解列表 2023年01月07日 0 点赞 0 评论 387 浏览 评分:0.0