1019: [编程入门]自由下落的距离计算-简单易懂 摘要: ```** m,n=map(int,input().strip().split()) # m米 n次时 sum = m #…… 题解列表 2023年01月13日 0 点赞 0 评论 420 浏览 评分:8.0
自定义函数处理最大公约数与最小公倍数 【10行代码 简单易懂】(有解释) 摘要:整体代码答案: ```python a,b=map(int,input().strip().split()) def gcd(a,b): if(b!=0): retu…… 题解列表 2023年01月15日 0 点赞 0 评论 408 浏览 评分:8.0
python版本题解 摘要:解题思路:条件判断注意事项:这里自己写了一个四舍五入,直接用int也一样参考代码:s = int(input())def round(x): x = str(x) if x[x.index…… 题解列表 2023年01月16日 0 点赞 0 评论 671 浏览 评分:8.0
数字逆序输出(C语言指针) 摘要:解题思路:通过指针解决,通俗易懂注意事项:见代码注释参考代码:#include<stdio.h> //输入10个数字,然后逆序输出。 int main(){ int a[10] = {0};/…… 题解列表 2023年01月25日 1 点赞 1 评论 1074 浏览 评分:8.0
菜鸟首次尝试(python)超简单解法 摘要:解题思路:注意事项:参考代码:n=int(input())for _ in range(n): x,y=map(int,input().split()) def realsum(n): …… 题解列表 2023年01月29日 0 点赞 0 评论 458 浏览 评分:8.0
ikun崩溃代码 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int a,b,c; scanf("%d %d ",&a,&b); c=a*b; printf("%d"…… 题解列表 2023年01月30日 0 点赞 0 评论 606 浏览 评分:8.0
1082: Tetrahedrons and Spheres 摘要:```cpp #include #include #include #include #include #define sqr(x)(x)*(x) using namespace std…… 题解列表 2023年01月31日 0 点赞 1 评论 503 浏览 评分:8.0
1782—————找出最长的字符串来 摘要: import java.util.Scanner; public class Main { public static void main(String[] …… 题解列表 2023年02月01日 0 点赞 0 评论 606 浏览 评分:8.0
第一个写题解的 有点意外哈哈 摘要:```c #include #include int main() { char a[1000]; int flag=0;//flag作为间断点 gets(a);//gets能接收…… 题解列表 2023年02月02日 0 点赞 0 评论 597 浏览 评分:8.0
文科生的悲哀(找规律) 摘要:解题思路:第一次第二次第三次第四次第五次政治历史政治历史政治地理历史地理综合政治地理地理观察题目和表格可以发现,奇数次的政治和地理的数目分别和上一奇数次的政治和地理的数目有关系,即第x次的政治数量为x…… 题解列表 2023年02月03日 0 点赞 0 评论 571 浏览 评分:8.0