输入输出练习之精度控制3题解 摘要:解题思路:easy注意事项:参考代码:#include<stdio.h>int main(){ char a; int b; float c; double d; sca…… 题解列表 2022年01月25日 0 点赞 0 评论 413 浏览 评分:0.0
[编程入门]结构体之时间设计-题解(python代码) 摘要:解题思路: 利用datetime 库。注意事项:参考代码:import datetimey,m,d=map(int,input().split())start = datetime.date(y…… 题解列表 2022年01月25日 0 点赞 0 评论 410 浏览 评分:0.0
[编程入门]结构体之成绩记录(C++)STL string,可以体会到struct很像定义类时的变量传入 摘要: ```cpp #include #include using namespace std; struct student{ string id; string …… 题解列表 2022年01月25日 0 点赞 0 评论 417 浏览 评分:0.0
输入输出练习之精度控制2题解 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ double a; scanf("%lf",&a); printf("%0.12lf",a);…… 题解列表 2022年01月25日 0 点赞 0 评论 314 浏览 评分:0.0
输入输出练习之精度控制1 题解 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ double a; scanf("%lf",&a); printf("%0.3lf",a); …… 题解列表 2022年01月25日 0 点赞 0 评论 364 浏览 评分:0.0
输入输出练习之格式控制题解 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c; scanf("%d%d%d",&a,&b,&c); printf…… 题解列表 2022年01月25日 0 点赞 0 评论 352 浏览 评分:0.0
[编程入门]报数问题-题解(python代码) 摘要:解题思路: 首先,创建列表,赋予编号,通过列出发现n等于2 或 3 时编号都是2,n大于3时,先通过索引数为2去掉报道数,然后考虑使每个报道数的索引都为2,即创建一个新列表用于转换原列表,如代码…… 题解列表 2022年01月25日 0 点赞 0 评论 537 浏览 评分:0.0
输入输出练习之第二个数字题解 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c; scanf("%d%d%d",&a,&b,&c); printf…… 题解列表 2022年01月25日 0 点赞 0 评论 351 浏览 评分: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 评论 408 浏览 评分:0.0
1954: 话费计算题解。。。。 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ float a; scanf("%f",&a); printf("%0.1f",50+0.4*a); r…… 题解列表 2022年01月25日 0 点赞 0 评论 396 浏览 评分:0.0