编写题解 2785: 判断一个数能否同时被3和5整除 摘要:解题思路:注意事项:参考代码:n=int(input())if n%3==0 and n%5==0: print("YES")else : &…… 题解列表 2026年04月26日 0 点赞 0 评论 0 浏览 评分:0.0
编写题解 2779: 输出绝对值,python超简单 摘要:解题思路:注意事项:参考代码:x=float(input())if x>=0: print(f'{x:.2f}')else : …… 题解列表 2026年04月26日 0 点赞 0 评论 1 浏览 评分:0.0
函数嵌套jf语句 摘要:解题思路:注意事项:参考代码:def apple_number(n,x,y): if y>n*x: return …… 题解列表 2026年04月26日 0 点赞 0 评论 2 浏览 评分:0.0
欢迎借鉴,如有错误,望指点 摘要:解题思路:注意事项:参考代码:pi=3.14159def c_l(x,y): z=(pi*y*y*x)/1000 j =20 / z &…… 题解列表 2026年04月25日 0 点赞 0 评论 4 浏览 评分:0.0
Python质因数分解 摘要:非原创参考代码:n=int(input())i=mx=2while(i**2<n): if n%i==0: &nbs…… 题解列表 2026年04月23日 0 点赞 0 评论 27 浏览 评分:0.0
Python解决题目 摘要:解题思路:judge判断det正负值,f负责分类计算和输出注意事项:det是负数时,注意输出参考代码:def f(a,b,c): judge=b**2-4*a*c…… 题解列表 2026年04月23日 0 点赞 0 评论 30 浏览 评分:0.0
C++实现模拟计算器 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a,b; &…… 题解列表 2026年04月23日 0 点赞 0 评论 25 浏览 评分:0.0
C++宏定义闰年判断 摘要:解题思路:闰年:能被4但不能被100整除 或 能被400整除注意事项:宏定义换行要用\参考代码:#include<iostream>using name…… 题解列表 2026年04月23日 0 点赞 0 评论 19 浏览 评分:0.0