Py2872-字符环-步骤清晰 摘要:s1,s2=input().strip().split()len1,len2=len(s1),len(s2)…… 题解列表 2025年12月03日 0 点赞 0 评论 47 浏览 评分:0.0
这题不难,认真看认真学 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b; //n是数,a保存行,b保存列 …… 题解列表 2025年12月03日 0 点赞 0 评论 59 浏览 评分:0.0
3035: LETTERS最多能走过的不同字母的个数 摘要:解题思路:注意事项:dfs函数中要注意最后一定要写ch_flag[ch_idx]=false;防止回溯的时候出现错误参考代码:#include<stdio.h>#include<st…… 题解列表 2025年12月04日 0 点赞 0 评论 46 浏览 评分:0.0
1347: 八皇后问题 摘要:解题思路:注意事项:dfs函数中一定要写col[col_idx]=false; diag1[d1]=false;&nb…… 题解列表 2025年12月04日 0 点赞 0 评论 50 浏览 评分:0.0
你就说对不对吧 摘要:#include<stdio.h>int main(void){ printf("153\n370\n371\n407"); &n…… 题解列表 2025年12月04日 0 点赞 0 评论 67 浏览 评分:0.0
注意第一个数为最大数的特殊情况! 摘要:解题思路:先把最小的数和第一个数对换,再把最大的数和最后一个数对换注意事项:两个操作不要同时进行,依次进行参考代码:#include<stdio.h>void input(long lon…… 题解列表 2025年12月04日 0 点赞 0 评论 81 浏览 评分:0.0
自己写的,可供参考 摘要:解题思路:直接看吧参考代码:#include<stdio.h>#include<stdlib.h>int main(){ int n; &…… 题解列表 2025年12月05日 0 点赞 0 评论 88 浏览 评分:0.0
小白python系列-简单的a+b 摘要:解题思路:简单的a+b注意事项:我将其写成小白都学的会的那种参考代码:while True:try:a,b=map(int,input().strip().split())print(a+b)exce…… 题解列表 2025年07月30日 4 点赞 2 评论 1556 浏览 评分:5.4
题解 2810: 鸡尾酒疗法 摘要:参考代码:a=int(input())b=[]for i in range(1,a+1): x,y=map(int,input().split()) if i<=1: c=y…… 题解列表 2024年03月17日 0 点赞 0 评论 427 浏览 评分:9.9
题解 2794: 求平均年龄 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int sum,m; sum=0; ci…… 题解列表 2024年01月09日 0 点赞 1 评论 280 浏览 评分:9.9