3035: LETTERS最多能走过的不同字母的个数 摘要:解题思路:注意事项:dfs函数中要注意最后一定要写ch_flag[ch_idx]=false;防止回溯的时候出现错误参考代码:#include<stdio.h>#include<st…… 题解列表 2025年12月04日 0 点赞 0 评论 136 浏览 评分:0.0
这题不难,认真看认真学 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b; //n是数,a保存行,b保存列 …… 题解列表 2025年12月03日 0 点赞 0 评论 184 浏览 评分:0.0
Py2872-字符环-步骤清晰 摘要:s1,s2=input().strip().split()len1,len2=len(s1),len(s2)…… 题解列表 2025年12月03日 0 点赞 0 评论 123 浏览 评分:0.0
Py1273-ISBN码-步骤清晰 摘要:yy,cbs,bh,ISBN=input().split('-')num=list(map(int,yy+cbs+bh))j&n…… 题解列表 2025年12月03日 0 点赞 0 评论 125 浏览 评分:0.0
刷题记录2025/12/3 2801: 奇数求和 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int m,n,i,sum=0; scanf("%d %d",&m,&a…… 题解列表 2025年12月03日 0 点赞 0 评论 95 浏览 评分:0.0
刷题记录2025/12/3 2799: 奥运奖牌计数 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,i,a,b,c,A=0,B=0,C=0,sum; scanf("%d\n&qu…… 题解列表 2025年12月03日 0 点赞 0 评论 133 浏览 评分:0.0
小木棍C++解法 摘要:解题思路:回溯回到底注意事项:无参考代码:#include <iostream>#include <vector>#include <algorithm>using…… 题解列表 2025年12月03日 1 点赞 0 评论 146 浏览 评分:10.0
刷题记录2025/12/3 2797: 最高的分数 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,n,i,max=0; scanf("%d\n",&n); f…… 题解列表 2025年12月03日 0 点赞 0 评论 167 浏览 评分:0.0
刷题记录2025/12/3 2796: 求整数的和与均值 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,i,sum=0; double n; scanf("%lf\n&q…… 题解列表 2025年12月03日 0 点赞 0 评论 171 浏览 评分:0.0
2754: 其他基本数据类型存储空间大小 摘要:#include <stdio.h>#include <stdbool.h>int main(){ bool x; char…… 题解列表 2025年12月03日 0 点赞 0 评论 189 浏览 评分:8.0