信息学奥赛一本通T1252-走迷宫,dfs做法! 摘要:解题思路:注意事项:参考代码:#include"bits/stdc++.h" using namespace std; // 定义全局变量 int a, b, h[50][50]; // a和b…… 题解列表 2024年11月18日 0 点赞 0 评论 280 浏览 评分:0.0
信息学奥赛一本通T1422-活动安排 摘要:解题思路:注意事项:参考代码:#include"bits/stdc++.h" using namespace std; // 定义结构体aaa,包含两个整数成员s和f struct aaa{ …… 题解列表 2024年11月17日 1 点赞 0 评论 395 浏览 评分:0.0
回文字符串四种情况 摘要:解题思路:1.字符串s本身回文aaa2.全为"lqb"字符,补充另一半即可lqb ==> bql_lqb3.前部分回文ioilqb ==> bql_ioilqb4.部分回文bioi_blq ==>ql…… 题解列表 2024年11月17日 3 点赞 0 评论 487 浏览 评分:9.0
很简单的题 摘要:解题思路:无注意事项:无参考代码:#include<bits/stdc++.h>using namespace std;int M[20]= {0,31,0,31,30,31,30,31,31,30,…… 题解列表 2024年11月17日 1 点赞 1 评论 645 浏览 评分:9.9
The Kth great number 摘要:#include <bits/stdc++.h>#define debuga(v, i) cout << #v << "[" << i << "]" << " = " << v[i] << '…… 题解列表 2024年11月17日 0 点赞 0 评论 127 浏览 评分:0.0
C++ 计算器 模拟题 摘要:#include <bits/stdc++.h> #define debuga(v, i) cout << #v << "[" << i << "]" << " = " << v 题解列表 2024年11月17日 0 点赞 0 评论 91 浏览 评分:0.0
链表的创建 摘要:#include <bits/stdc++.h> #define debuga(v, i) cout << #v << "[" << i << "]" << " = " << v 题解列表 2024年11月16日 0 点赞 0 评论 95 浏览 评分:0.0
C++STL 十进制 转 任意进制 摘要:#include <bits/stdc++.h> #define debuga(v, i) cout << #v << "[" << i << "]" << " = " << v 题解列表 2024年11月16日 0 点赞 0 评论 91 浏览 评分:0.0
通过数组还有循环 摘要:解题思路: //1009输入一个不多于五位的整数,输出位数,每一位,倒序输出 //通过while循环判断该数的位数,再通过循环存取每一位元素和求其倒序注意事项:参考代码:int N,count=0,a…… 题解列表 2024年11月16日 2 点赞 0 评论 514 浏览 评分:0.0
蓝桥杯算法提高VIP-排队打水问题,贪心 摘要:解题思路:注意事项:参考代码:#include"bits/stdc++.h" using namespace std; int main(){ // 定义变量n和m,t数组用于存储输入的…… 题解列表 2024年11月16日 0 点赞 0 评论 293 浏览 评分:0.0