[编程入门]自由下落的距离计算-题解(Java代码) 摘要:保留小数点后边两位小数的方法(下边的 c 表示要处理的数据): 第一种: DecimalFormat df = new DecimalFormat("#.00"); S…… 题解列表 2019年11月21日 0 点赞 0 评论 1247 浏览 评分:9.0
[编程入门]有规律的数列求和-题解(Java代码) 摘要:保留小数点后边两位小数的方法(下边的 c 表示要处理的数据): 第一种: DecimalFormat df = new DecimalFormat("#.00"); String …… 题解列表 2019年11月21日 0 点赞 0 评论 1128 浏览 评分:9.3
[编程入门]完数的判断-题解(Java代码) 摘要:```java import java.util.Scanner; /** * https://www.dotcpp.com/oj/problem1017.html * @author…… 题解列表 2019年11月21日 0 点赞 0 评论 1482 浏览 评分:8.3
Kanna-水仙花数判断--C 摘要: #include int main(){ int h,t,b; int i; //i从100开始到999,限定了i是3位数 …… 题解列表 2019年11月21日 0 点赞 0 评论 1170 浏览 评分:8.0
DNA-题解(C语言代码) 摘要:# 1115: DNA ## 源代码 ####暴力写法 #include int main() { int n,m; scanf("%d",&n); for(m=…… 题解列表 2019年11月20日 0 点赞 0 评论 1073 浏览 评分:9.9
蓝桥杯2014年第五届真题-地宫取宝-题解记忆化搜索法 摘要: #include #define ll long long using namespace std; const ll INF = 1000000007; …… 题解列表 2019年11月20日 0 点赞 1 评论 809 浏览 评分:0.0
[编程入门]筛选N以内的素数 (Python代码)python ,C,java三种语言 摘要: ## python ```python def f(x):#判断x是否是数素 i=2 while(i*ix 时 还没有返回0 则时数素 if x%i==…… 题解列表 2019年11月20日 0 点赞 0 评论 1134 浏览 评分:2.0
[编程基础]输入输出练习之精度控制3-题解(C语言代码) 摘要:#include int main() { char a; int b; float c; double d; scanf("%c %d %f %…… 题解列表 2019年11月20日 0 点赞 1 评论 1613 浏览 评分:8.4
[编程入门]水仙花数判断 (Python代码) 摘要:```python for i in range(100,1000): #100到999 g=i%10 #个 s=i//10%10 #十 b=i//100 …… 题解列表 2019年11月20日 0 点赞 0 评论 2135 浏览 评分:8.8
[编程入门]求和训练 (Python代码)python,C,java三种语言 摘要: ## python ```python sum=0 #定义 a , b , c = map(int,input().strip().split()) # 输入数据,以空格切割 s…… 题解列表 2019年11月20日 0 点赞 0 评论 1663 浏览 评分:8.4