多输入输出练习1 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream>int main(){ using namespace std; int i=0,max,t; int * s = new int […… 题解列表 2019年04月24日 0 点赞 0 评论 1195 浏览 评分:0.0
蓝桥杯基础练习VIP-矩阵乘法(矩阵快速幂) ----Momoc 摘要:解题思路:矩阵乘法的公式: 其实就是矩阵a的i行乘以矩阵b的j列。快速幂贴上链接:https://blog.csdn.net/iwts_24/article/details/79780596其实就…… 题解列表 2019年04月24日 2 点赞 0 评论 1531 浏览 评分:0.0
迷宫问题 (C++代码)BFS模板 摘要:解题思路: 几乎可以说是一个模板题目,记得收藏这种模板,BFS的模板参考代码:#include<bits/stdc++.h> #define hh ios::sync_with_stdio(f…… 题解列表 2019年04月24日 0 点赞 2 评论 2342 浏览 评分:9.9
迷宫问题 (C++代码) 摘要:解题思路:宽度优先搜索的常规题注意事项:需要注意判断:如果不存在通路需要返回-1(否则只能过50%,存在一半的数据);参考代码:#include <iostream>#include <algorit…… 题解列表 2019年04月21日 0 点赞 0 评论 673 浏览 评分:0.0
C语言训练-数字母 (C++代码) 摘要:解题思路:写个判断函数 判断字符串是否是字符 注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ char str…… 题解列表 2019年04月21日 0 点赞 0 评论 753 浏览 评分:0.0
C语言训练-排序问题<2> (C++代码) 摘要:解题思路:sort 自定义排序规则注意事项:参考代码:#include <bits/stdc++.h>using namespace std;bool cmp(int a,int b){ return…… 题解列表 2019年04月21日 0 点赞 0 评论 904 浏览 评分:9.9
C语言训练-排序问题<1> (C++代码) 摘要:解题思路:sort 排序大法注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int a[4]; for(…… 题解列表 2019年04月21日 0 点赞 0 评论 661 浏览 评分:0.0
C语言训练-尼科彻斯定理 (C++代码) 摘要:解题思路:直接看样例找规律注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int n,i; cin>>n…… 题解列表 2019年04月21日 0 点赞 0 评论 650 浏览 评分:0.0
C语言训练-大、小写问题 (C++代码) 摘要:解题思路:简单的大小写转换注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ char str[120]; …… 题解列表 2019年04月21日 0 点赞 0 评论 1269 浏览 评分:0.0
C语言训练-列出最简真分数序列* (C++代码) 摘要:解题思路:注意格式就ok注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ for(int i = 1;i < 4…… 题解列表 2019年04月21日 0 点赞 0 评论 754 浏览 评分:0.0