信息学奥赛一本通T1422-活动安排 摘要:解题思路:注意事项:参考代码:#include"bits/stdc++.h" using namespace std; // 定义结构体aaa,包含两个整数成员s和f struct aaa{ …… 题解列表 2024年11月17日 1 点赞 0 评论 592 浏览 评分:0.0
回文字符串四种情况 摘要:解题思路:1.字符串s本身回文aaa2.全为"lqb"字符,补充另一半即可lqb ==> bql_lqb3.前部分回文ioilqb ==> bql_ioilqb4.部分回文bioi_blq ==>ql…… 题解列表 2024年11月17日 3 点赞 0 评论 689 浏览 评分: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 评论 826 浏览 评分:7.3
The Kth great number 摘要:#include <bits/stdc++.h>#define debuga(v, i) cout << #v << "[" << i << "]" << " = " << v[i] << '…… 题解列表 2024年11月17日 1 点赞 0 评论 272 浏览 评分:0.0
C++ 计算器 模拟题 摘要:#include <bits/stdc++.h> #define debuga(v, i) cout << #v << "[" << i << "]" << " = " << v 题解列表 2024年11月17日 0 点赞 0 评论 215 浏览 评分:0.0
链表的创建 摘要:#include <bits/stdc++.h> #define debuga(v, i) cout << #v << "[" << i << "]" << " = " << v 题解列表 2024年11月16日 0 点赞 0 评论 211 浏览 评分:0.0
C++STL 十进制 转 任意进制 摘要:#include <bits/stdc++.h> #define debuga(v, i) cout << #v << "[" << i << "]" << " = " << v 题解列表 2024年11月16日 0 点赞 0 评论 199 浏览 评分:0.0
通过数组还有循环 摘要:解题思路: //1009输入一个不多于五位的整数,输出位数,每一位,倒序输出 //通过while循环判断该数的位数,再通过循环存取每一位元素和求其倒序注意事项:参考代码:int N,count=0,a…… 题解列表 2024年11月16日 2 点赞 0 评论 687 浏览 评分:0.0
蓝桥杯算法提高VIP-排队打水问题,贪心 摘要:解题思路:注意事项:参考代码:#include"bits/stdc++.h" using namespace std; int main(){ // 定义变量n和m,t数组用于存储输入的…… 题解列表 2024年11月16日 0 点赞 0 评论 418 浏览 评分:0.0
蓝桥杯历届试题-翻硬币,这真的是比赛题吗? 摘要:解题思路:注意事项:参考代码:#include"bits/stdc++.h" using namespace std; int main(){ // 定义两个字符串变量s1和s2,用于存…… 题解列表 2024年11月16日 0 点赞 0 评论 331 浏览 评分:2.0