2849: 石头剪子布 摘要:``` #include using namespace std; const int N=110; int a[N],b[N]; int main(){ int T; cin>>…… 题解列表 2023年12月18日 0 点赞 0 评论 235 浏览 评分:9.9
优质题解 大整数乘法 摘要:这段代码是一个实现大整数相乘的程序。首先,它使用了两个字符数组s1和s2来存储两个大整数,并通过字符串输入的方式获取这两个大整数。然后,通过将字符转换为数字,将它们存储到数组a和b中。接下来,它定义了…… 题解列表 2023年12月19日 173 点赞 0 评论 3515 浏览 评分:9.9
c语言亲和数 摘要:#include int main() { int a; int m,n; scanf("%d",&a); for(int i=0;i…… 题解列表 2023年12月19日 0 点赞 0 评论 176 浏览 评分:9.9
题解 2846: 统计数字字符个数 摘要: #include using namespace std; const int N=300; int cnt; string a; int m…… 题解列表 2023年12月19日 0 点赞 0 评论 253 浏览 评分:9.9
题解 2847: 找第一个只出现一次的字符 摘要: #include using namespace std; const int N=100000; char a[N]; int cnt[26]; …… 题解列表 2023年12月19日 0 点赞 0 评论 245 浏览 评分:9.9
2850: 输出亲朋字符串 摘要:``` #include using namespace std; const int N=100010; int main(){ string a,b; getline(cin,a)…… 题解列表 2023年12月19日 0 点赞 0 评论 164 浏览 评分:9.9
蓝桥杯2023年第十四届省赛真题-子串简写(Java代码) 摘要:本文仅供参考理解解题思路,a、b、c、d、e、f输出皆正确,但提交错误。 a、b、c、d、e均为时间超限,其中a、b、c为95分; d是c的简化版,但为0分; e有两种思路c1和c2可以调换先后…… 题解列表 2023年12月19日 0 点赞 0 评论 651 浏览 评分:9.9
strcpy?不不不,都多余了 摘要:```c #include int main() { int a,b; char s[10000]; scanf("%d%s%d",&a,s,&b); c…… 题解列表 2023年12月20日 0 点赞 0 评论 194 浏览 评分:9.9
字符串p型编码 摘要:解题思路:注意事项:参考代码:myStr=input().strip()myStr1=""i=1for t in range(len(myStr)-1): if myStr[t+1]==mySt…… 题解列表 2023年12月20日 0 点赞 0 评论 223 浏览 评分:9.9
来个C++的题解 摘要:解题思路:以先序遍历为基础,找到root后在中序遍历中找root的位置并设置好范围len,变换pre和in数组的head指针参考代码:#include<bits/stdc++.h>#define re…… 题解列表 2023年12月20日 0 点赞 0 评论 247 浏览 评分:9.9