题解 2829: 数1的个数 摘要:解题思路:可以用while拆解个各位,比较通用,但是本题说明了是10000以内的数,就用了简单拆分注意事项:注意逻辑或||造成的短路问题,使用||时只要有一个条件满足就会count++,但是这个数会不…… 题解列表 2025年12月07日 1 点赞 0 评论 108 浏览 评分:10.0
编写题解 1227: 日期排序 摘要:解题思路:注意事项:参考代码:dates = []while True: try: line = input().str…… 题解列表 2025年12月07日 0 点赞 0 评论 86 浏览 评分:0.0
[编程入门]三个数最大值 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int number[3]; int t=0;&…… 题解列表 2025年12月05日 1 点赞 0 评论 314 浏览 评分:0.0
其实很简单,慢慢想,慢慢写 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int score[100]; int A=0,…… 题解列表 2025年12月05日 0 点赞 0 评论 139 浏览 评分:0.0
孩子们,这是题解,What can i say! 摘要:解题思路:注意事项:参考代码:while True: try: n=int(input()) …… 题解列表 2025年12月05日 0 点赞 0 评论 158 浏览 评分:10.0
题解 2794: 求平均年龄 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int sum,m; sum=0; ci…… 题解列表 2024年01月09日 0 点赞 1 评论 297 浏览 评分:9.9
题解 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 评论 437 浏览 评分:9.9
小白python系列-简单的a+b 摘要:解题思路:简单的a+b注意事项:我将其写成小白都学的会的那种参考代码:while True:try:a,b=map(int,input().strip().split())print(a+b)exce…… 题解列表 2025年07月30日 5 点赞 2 评论 1664 浏览 评分:5.4
自己写的,可供参考 摘要:解题思路:直接看吧参考代码:#include<stdio.h>#include<stdlib.h>int main(){ int n; &…… 题解列表 2025年12月05日 0 点赞 0 评论 121 浏览 评分:0.0
注意第一个数为最大数的特殊情况! 摘要:解题思路:先把最小的数和第一个数对换,再把最大的数和最后一个数对换注意事项:两个操作不要同时进行,依次进行参考代码:#include<stdio.h>void input(long lon…… 题解列表 2025年12月04日 0 点赞 0 评论 148 浏览 评分:0.0