python-12-1三角形 摘要:解题思路:按照公式计算就可以了。注意事项:参考代码:from math import sqrt def f(x1,y1,x2,y2,x3,y3): a = sqrt((x1-x2)…… 题解列表 2022年01月25日 0 点赞 0 评论 329 浏览 评分:9.9
输入输出练习之精度控制3题解 摘要:解题思路:easy注意事项:参考代码:#include<stdio.h>int main(){ char a; int b; float c; double d; sca…… 题解列表 2022年01月25日 0 点赞 0 评论 297 浏览 评分:0.0
[编程入门]结构体之时间设计-题解(python代码) 摘要:解题思路: 利用datetime 库。注意事项:参考代码:import datetimey,m,d=map(int,input().split())start = datetime.date(y…… 题解列表 2022年01月25日 0 点赞 0 评论 302 浏览 评分:0.0
[编程入门]结构体之成绩记录(C++)STL string,可以体会到struct很像定义类时的变量传入 摘要: ```cpp #include #include using namespace std; struct student{ string id; string …… 题解列表 2022年01月25日 0 点赞 0 评论 308 浏览 评分:0.0
输入输出练习之精度控制2题解 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ double a; scanf("%lf",&a); printf("%0.12lf",a);…… 题解列表 2022年01月25日 0 点赞 0 评论 202 浏览 评分:0.0
输入输出练习之精度控制1 题解 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ double a; scanf("%lf",&a); printf("%0.3lf",a); …… 题解列表 2022年01月25日 0 点赞 0 评论 257 浏览 评分:0.0
输入输出练习之格式控制题解 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c; scanf("%d%d%d",&a,&b,&c); printf…… 题解列表 2022年01月25日 0 点赞 0 评论 235 浏览 评分:0.0
[编程入门]报数问题-题解(python代码) 摘要:解题思路: 首先,创建列表,赋予编号,通过列出发现n等于2 或 3 时编号都是2,n大于3时,先通过索引数为2去掉报道数,然后考虑使每个报道数的索引都为2,即创建一个新列表用于转换原列表,如代码…… 题解列表 2022年01月25日 0 点赞 0 评论 427 浏览 评分:0.0
输入输出练习之第二个数字题解 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c; scanf("%d%d%d",&a,&b,&c); printf…… 题解列表 2022年01月25日 0 点赞 0 评论 223 浏览 评分:0.0
贷款计算题解 摘要:解题思路:easy注意事项:参考代码:#include<stdio.h>int main(){ int a,b; double c; scanf("%d%lf%d",&a,&c,&b…… 题解列表 2022年01月25日 0 点赞 0 评论 271 浏览 评分:0.0