孩子们,这是题解,What can i say! 摘要:解题思路:注意事项:参考代码:while True: try: n=int(input()) …… 题解列表 2025年12月05日 0 点赞 0 评论 115 浏览 评分:10.0
其实很简单,慢慢想,慢慢写 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int score[100]; int A=0,…… 题解列表 2025年12月05日 0 点赞 0 评论 86 浏览 评分:0.0
[编程入门]三个数最大值 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int number[3]; int t=0;&…… 题解列表 2025年12月05日 0 点赞 0 评论 149 浏览 评分:0.0
编写题解 1227: 日期排序 摘要:解题思路:注意事项:参考代码:dates = []while True: try: line = input().str…… 题解列表 2025年12月07日 0 点赞 0 评论 57 浏览 评分:0.0
题解 2829: 数1的个数 摘要:解题思路:可以用while拆解个各位,比较通用,但是本题说明了是10000以内的数,就用了简单拆分注意事项:注意逻辑或||造成的短路问题,使用||时只要有一个条件满足就会count++,但是这个数会不…… 题解列表 2025年12月07日 1 点赞 0 评论 62 浏览 评分:10.0
铺地毯题解 摘要:解题思路:从最底层地毯开始,一直到最上层地毯循环。判断坐标(x,y)是否在此层地毯的范围内,编号应该保持为(最上层的 满足情况的 地毯的编号)。注意事项:将编号赋值为0(n以外的也可以,但0最省事),…… 题解列表 2025年12月07日 1 点赞 1 评论 64 浏览 评分:8.0
应该大概是这样写的 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,n; scanf("%…… 题解列表 2025年12月07日 0 点赞 0 评论 44 浏览 评分:0.0
应该大概是这样写的 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b; while(scanf(&qu…… 题解列表 2025年12月07日 0 点赞 0 评论 53 浏览 评分:0.0
用布尔数组表示树,个人解。QAQ 摘要:解题思路:用布尔数组表示树,然后写一个方法表示砍树注意事项:L+1参考代码:import java.util.Scanner;public class Main { publ…… 题解列表 2025年12月08日 0 点赞 0 评论 53 浏览 评分:10.0
这个题目还是蛮有意思的 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n=0,a=0,sum=0; while…… 题解列表 2025年12月09日 0 点赞 0 评论 20 浏览 评分:0.0