landun蚂蚁(c++) 摘要:#include<iostream>using namespace std;int landun[100][100];int m, n;int x, y, k;char s;int main(){ c…… 题解列表 2021年08月29日 0 点赞 0 评论 403 浏览 评分:0.0
Jam的计数法(全排列解法) 摘要:参考代码:#include <cstdio> #include <cstdlib> using namespace std; const char M[] = " abcdefghijklmno…… 题解列表 2021年08月27日 0 点赞 0 评论 750 浏览 评分:9.9
蓝桥杯算法训练VIP-JAM计数法(全排列解法) 摘要:参考代码:#include <cstdio> #include <cstdlib> using namespace std; const char M[] = " abcdefghijklmno…… 题解列表 2021年08月27日 0 点赞 1 评论 581 浏览 评分:10.0
蓝桥杯算法提高VIP-模拟计算器----简单易懂,算是基础编写 摘要:解题思路:参考日常使用的计算器,只要可以运行就可以。注意事项:我用到了自定义函数,如果没学过可以私信我。参考代码:#include<iostream> //计算器using namespace std…… 题解列表 2021年08月27日 0 点赞 0 评论 449 浏览 评分:9.9
优质题解 [NOIP2008 普及组] 立体图 摘要:算法:(字符串处理,模拟,坐标变换) O(42nmh)首先将一个小正方体的投影画出来:char box[6][8] = { "..+---+", "./ /|", "+---+ |"…… 题解列表 2021年08月26日 1 点赞 0 评论 1614 浏览 评分:9.8
排队买票(有趣的方法) 摘要:解题思路: M个人,N个一元,K个两元。将这M个人以0到M-1的编号存入到vector中,对这两个组成部分进行判断, &n 题解列表 2021年08月25日 0 点赞 0 评论 464 浏览 评分:9.9
优质题解 能量项链----区间DP做法 摘要:本来算法使用MarkDown写,但是发现我们的MarkDown真的难用~题目大意:有n个珠子编号为1~n且首尾相接为环状,每一个珠子有头标记和尾标记,第i个珠子的尾标记是第i-1个珠子的头标记,第i个…… 题解列表 2021年08月25日 0 点赞 10 评论 2775 浏览 评分:9.8
2321231232其233123232323 摘要:#include<iostream>using namespace std;int main(){ int a[10]; for(int i=0;i<10;i++) { cin>>a[i]; } f…… 题解列表 2021年08月24日 0 点赞 0 评论 482 浏览 评分:9.9
递归算法,简单易懂 摘要:#include<iostream>using namespace std;int n,k;int judge(bool is_zero,int num){ num++; if (num …… 题解列表 2021年08月23日 0 点赞 0 评论 438 浏览 评分:0.0