给用Java的开一下荒土 摘要:解题思路:注意事项:参考代码:import java.util.Scanner; public class Main { public static void main(String[] a…… 题解列表 2023年04月16日 0 点赞 0 评论 164 浏览 评分:0.0
这个题题目是敏感词汇(注意变量类型) 摘要:注意事项: %0.0lf会对浮点数四舍五入 %0.0f会直接舍弃小数部分 %d输出浮点类型可能会出错 参考代码: ```c #include int main() { int y;…… 题解列表 2023年09月08日 0 点赞 0 评论 158 浏览 评分:0.0
for循环c语言版 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int Y; float M,R; scanf("%f %f %d",&R,&M,&Y); …… 题解列表 2023年11月04日 0 点赞 0 评论 183 浏览 评分:0.0
2807: C++解题 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<iomanip> #include<cmath> using namespace std; int mai…… 题解列表 2023年11月17日 0 点赞 0 评论 122 浏览 评分:0.0
题解 2807:计算金额(for) 摘要:解题思路:注意事项:参考代码:a,b,c=map(int,input().strip().split())for i in range(c): b *= (1+a/100)print(int(b…… 题解列表 2024年07月29日 0 点赞 0 评论 217 浏览 评分:0.0
题解 2807: 利息计算问题。 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int r,m,y; scanf("%d%d%d\n",&r,&…… 题解列表 2025年01月25日 0 点赞 0 评论 136 浏览 评分:0.0
2807:****(标题有敏感词) 摘要:解题思路:注意事项:参考代码:r,m,y = map(int,input().split())r = r * 0.01for i in range(0,y): m += m * rprint(i…… 题解列表 2023年02月07日 0 点赞 1 评论 300 浏览 评分:4.0
题解 2807 YHLX 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include <math.h>int main(){ int R, Y; long int M; scanf("%…… 题解列表 2023年08月17日 0 点赞 0 评论 253 浏览 评分:6.0
有错误请指出 摘要:解题思路:提前将收入定义为浮点型,方便后面计算注意事项:参考代码:#include <stdio.h>int main(){ int r,y; float m; scanf("%d %f %d",&r…… 题解列表 2022年12月21日 0 点赞 0 评论 551 浏览 评分:9.9
简单又实用 摘要:```cpp #include #include // 包含cmath头文件来使用pow函数 using namespace std; int main() { int R, …… 题解列表 2023年07月12日 0 点赞 0 评论 392 浏览 评分:9.9