c++十六进制转八进制 摘要:#include<bits/stdc++.h>using namespace std;const int N=100000;using ll=long long;char ch[]={'0&#…… 题解列表 2024年04月02日 0 点赞 0 评论 322 浏览 评分:9.9
回文串(简单易懂c语言) 摘要:解题思路:先把a数组倒叙赋值给b数组,接着比较a,b数组是否相等注意事项:参考代码: #include <stdio.h> 题解列表 2024年04月02日 1 点赞 0 评论 421 浏览 评分:9.9
蓝桥杯2023年第十四届省赛真题-接龙数列 摘要:解题思路:注意事项:参考代码:#include <iostream>#include <string>using namespace std;int dp[10];int main(){ int n…… 题解列表 2024年04月02日 2 点赞 1 评论 1202 浏览 评分:9.9
字典解决法,简单 摘要:解题思路:用排除法来判断是否有解法,踢去不可能的,则是存在的注意事项:参考代码:s1 = input().strip() s2 = input().strip() s3 = input().str…… 题解列表 2024年04月02日 0 点赞 0 评论 276 浏览 评分:9.9
蓝桥杯2023年第十四届省赛真题-子串简写 摘要:解题思路:注意事项:参考代码:常人思路(超时)#include <bits/stdc++.h> using namespace std;int K;long long ans=0;string S;c…… 题解列表 2024年04月02日 2 点赞 0 评论 998 浏览 评分:9.9
高级无磨损 崭新出厂 摘要:解题思路:注意事项:可以把成绩定义成int型参考代码:#include <stdio.h>struct Student{ char num[20]; char name[20]; float scor…… 题解列表 2024年04月02日 0 点赞 0 评论 242 浏览 评分:9.9
2838: 有趣的跳跃 python (正确运行,简单易懂) 摘要:解题思路:注意事项:参考代码:import mathlistB = []listC = []listA = list(map(int,input().split()))n = listA.pop(0)…… 题解列表 2024年04月02日 0 点赞 0 评论 571 浏览 评分:9.9
Jayden-[解释通俗易懂,一看就会! ] 自定义函数之通用位移 摘要:解题思路:在move函数中根据n的正负来决定value是左移还是右移: n >= 0: 右移。使用>>运算符将value右移n位,并使用<< 运算符将value左移bits-n位,最后将两个结…… 题解列表 2024年04月02日 1 点赞 0 评论 622 浏览 评分:9.9
超简单易懂-数组标记 摘要:解题思路:用一个数组标记字母出现的先后,然后以先后顺序判断该字母是否符合条件输出就好了注意事项: 我看到有些题解的第一个且只出现一次的字母的这个“第一个”是根据字母表的顺序输出的并不是根据输入的数据的…… 题解列表 2024年04月03日 0 点赞 0 评论 299 浏览 评分:9.9
借鉴了一下,略磨出厂,可大刀 摘要:解题思路:可以举几个十进制数字转化二进制的例子,用脑汁稍微思考就会了注意事项:参考代码:#include <stdio.h>int main(){ int a[32];//int型4个字节转二进制32…… 题解列表 2024年04月03日 0 点赞 0 评论 304 浏览 评分:9.9