蓝桥杯2023年第十四届省赛真题-接龙数列 摘要:解题思路:注意事项:参考代码:#include <iostream>#include <string>using namespace std;int dp[10];int main(){ int n…… 题解列表 2024年04月02日 2 点赞 1 评论 1153 浏览 评分:9.9
字典解决法,简单 摘要:解题思路:用排除法来判断是否有解法,踢去不可能的,则是存在的注意事项:参考代码:s1 = input().strip() s2 = input().strip() s3 = input().str…… 题解列表 2024年04月02日 0 点赞 0 评论 243 浏览 评分:9.9
蓝桥杯2023年第十四届省赛真题-子串简写 摘要:解题思路:注意事项:参考代码:常人思路(超时)#include <bits/stdc++.h> using namespace std;int K;long long ans=0;string S;c…… 题解列表 2024年04月02日 2 点赞 0 评论 935 浏览 评分:9.9
高级无磨损 崭新出厂 摘要:解题思路:注意事项:可以把成绩定义成int型参考代码:#include <stdio.h>struct Student{ char num[20]; char name[20]; float scor…… 题解列表 2024年04月02日 0 点赞 0 评论 206 浏览 评分:9.9
2838: 有趣的跳跃 python (正确运行,简单易懂) 摘要:解题思路:注意事项:参考代码:import mathlistB = []listC = []listA = list(map(int,input().split()))n = listA.pop(0)…… 题解列表 2024年04月02日 0 点赞 0 评论 465 浏览 评分:9.9
Jayden-[解释通俗易懂,一看就会! ] 自定义函数之通用位移 摘要:解题思路:在move函数中根据n的正负来决定value是左移还是右移: n >= 0: 右移。使用>>运算符将value右移n位,并使用<< 运算符将value左移bits-n位,最后将两个结…… 题解列表 2024年04月02日 1 点赞 0 评论 551 浏览 评分:9.9
超简单易懂-数组标记 摘要:解题思路:用一个数组标记字母出现的先后,然后以先后顺序判断该字母是否符合条件输出就好了注意事项: 我看到有些题解的第一个且只出现一次的字母的这个“第一个”是根据字母表的顺序输出的并不是根据输入的数据的…… 题解列表 2024年04月03日 0 点赞 0 评论 260 浏览 评分:9.9
借鉴了一下,略磨出厂,可大刀 摘要:解题思路:可以举几个十进制数字转化二进制的例子,用脑汁稍微思考就会了注意事项:参考代码:#include <stdio.h>int main(){ int a[32];//int型4个字节转二进制32…… 题解列表 2024年04月03日 0 点赞 0 评论 263 浏览 评分:9.9
题解 2812: 球弹跳高度的计算 (反弹与落地 示意图) 摘要:![题目中“第1/2/3/...次下落”与“第1/2/3/...次弹跳”的关系](/image_editor_upload/20240403/20240403063849_63902.jpg "题目中…… 题解列表 2024年04月03日 1 点赞 1 评论 320 浏览 评分:9.9
信息学奥赛一本通T1250-The Castle 摘要:解题思路: BFS注意事项: 数组实现普通队列,注意队列长度 参考代码:#include<iostream> using namespace std; const int N = 1e2 + 10…… 题解列表 2024年04月04日 0 点赞 0 评论 203 浏览 评分:9.9