编写题解 3009: 判断闰年123 摘要:解题思路:#include <bits/stdc++.h>using namespace std;int main(){ int y; cin>>y; if(y%4==0 && y%…… 题解列表 2023年12月31日 0 点赞 0 评论 267 浏览 评分:9.9
题解 1002: [编程入门]三个数最大值 摘要:解题思路:注意事项:不要抄袭,会遭报应的.参考代码:#inciude <bits/stdc++.b>useing namespece std;int a,s,c;int mein()[ cin>…… 题解列表 2023年12月31日 0 点赞 1 评论 439 浏览 评分:9.9
2792: 三角形判断 摘要:解题思路:注意事项:三角形两边之和大于第三边参考代码:#include <iostream>using namespace std;int main(){ int a,b,c; cin >…… 题解列表 2023年12月31日 0 点赞 0 评论 351 浏览 评分:9.9
编写题解 1783: 星期判断机 摘要:解题思路:注意事项:单词不要拼错!!!!!!!!!!!!!!!!!!!!参考代码:#include <bits/stdc++.h>using namespace std;int main(){ …… 题解列表 2023年12月31日 0 点赞 0 评论 255 浏览 评分:9.9
编写题解 2788: 晶晶赴约会 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int a; cin>>a; if(a=…… 题解列表 2023年12月31日 0 点赞 0 评论 217 浏览 评分:9.9
2788: 晶晶赴约会 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ double a; cin >>a; i…… 题解列表 2023年12月31日 0 点赞 0 评论 207 浏览 评分:9.9
孤独的骑士 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,i; scanf("%d",&n); getchar(); char ch; int a[100],…… 题解列表 2023年12月31日 0 点赞 0 评论 316 浏览 评分:9.9
思路最清晰的题解 摘要:解题思路:首先,我们观察输入。第一行是两个整数,然后还有n行,每行两个整数为了接收输入,基本的代码框架就出来了:l,n=map(int,input().split()) #使用input+s…… 题解列表 2023年12月31日 1 点赞 0 评论 340 浏览 评分:9.9
打印蛇形矩阵(详细讲解) 摘要:对于这题的参数,只需要接收一个数字n因此,大的框架就很简单了:def printsnake(n): #中间的重要代码n=int(input())printsnake(n)很明显,这题是循环打印,…… 题解列表 2024年01月01日 0 点赞 0 评论 407 浏览 评分:9.9
常规解法,易懂 摘要:解题思路:外循环控制消减次数,依照题目行与列依次寻找最小值,再相减,之后去除第二行第二列,控制外循环的变量自减注意事项:相减后的值仍然是非负整数(若这个值小于零,直接赋值0即可),程序结束前需要多输出…… 题解列表 2024年01月01日 0 点赞 0 评论 296 浏览 评分:9.9