计算两个矩阵的乘积 (C++代码) 摘要:注意是多组输入数据就行了#include "iostream" #include "cstdio" #include "cmath" using namespace std; int a[2]…… 题解列表 2018年07月27日 0 点赞 0 评论 1283 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题11.5 (C++代码) 摘要:解题思路:注意事项:参考代码:#include <iostream>#include <algorithm>using namespace std;struct student{ char num[2…… 题解列表 2018年07月26日 0 点赞 0 评论 1053 浏览 评分:0.0
【魔板】 (C++代码) 摘要:解题思路:参考代码:#include<bits/stdc++.h> using namespace std; int AimValue; bool Vis[49451 + 1]; type…… 题解列表 2018年07月25日 0 点赞 0 评论 1550 浏览 评分:0.0
连通图 (C++代码)(并查集) 摘要:解题思路: 判断连通图,构建并查集即可注意事项:参考代码:#include <iostream> #include <cstring> using namespace…… 题解列表 2018年07月25日 0 点赞 0 评论 1809 浏览 评分:8.0
王牌花色 (C++代码) 摘要:#include "iostream" #include "cstdio" #include "cstring" #include "string" using namespace std; …… 题解列表 2018年07月24日 1 点赞 0 评论 2268 浏览 评分:0.0
数字整除 (C++代码) 摘要:解题思路:看题目数据范围,肯定是大数啦,用字符数组读取,然后再减去‘0’就是对应的数字了。然后把每个得到的数字对17取余,余数*10到加到下一位,继续取余,最后直接判断余数是否为0就OK了。注意事项:…… 题解列表 2018年07月24日 0 点赞 1 评论 2502 浏览 评分:9.9
蓝桥杯算法提高VIP-盾神与砝码称重 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<malloc.h> #define ElemType int //假定线性表中数据元素为int类型 typedef…… 题解列表 2018年07月24日 0 点赞 0 评论 1810 浏览 评分:2.0
Minesweeper (C++代码) 摘要:解题思路:参考代码:#include<bits/stdc++.h> using namespace std; int high, width; char Map[103][103]; …… 题解列表 2018年07月22日 0 点赞 0 评论 1086 浏览 评分:0.0
蓝桥杯算法提高VIP-特殊的质数肋骨 (C++代码)(DFS 属于此题最优解法了吧) 摘要:解题思路: DFS 5 ms 通关。参考代码:#include<bits/stdc++.h> using namespace std; int Len; bool IsPri…… 题解列表 2018年07月22日 3 点赞 1 评论 571 浏览 评分:9.3
蓝桥杯算法提高VIP-开灯游戏 (C++代码) 摘要:解题思路: 模拟 + DFS。其中最巧妙的就是如何记录开关的某个组合出现过,当然是 Hash 值啦。参考代码:#include<bits/stdc++.h> /* 一共 112 个组合,…… 题解列表 2018年07月22日 0 点赞 0 评论 2304 浏览 评分:0.0