这个题题目是敏感词汇(注意变量类型) 摘要:注意事项: %0.0lf会对浮点数四舍五入 %0.0f会直接舍弃小数部分 %d输出浮点类型可能会出错 参考代码: ```c #include int main() { int y;…… 题解列表 2023年09月08日 0 点赞 0 评论 299 浏览 评分:0.0
题解 2807 YHLX 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include <math.h>int main(){ int R, Y; long int M; scanf("%…… 题解列表 2023年08月17日 0 点赞 0 评论 414 浏览 评分:6.0
简单又实用 摘要:```cpp #include #include // 包含cmath头文件来使用pow函数 using namespace std; int main() { int R, …… 题解列表 2023年07月12日 0 点赞 0 评论 648 浏览 评分:9.9
给用Java的开一下荒土 摘要:解题思路:注意事项:参考代码:import java.util.Scanner; public class Main { public static void main(String[] a…… 题解列表 2023年04月16日 0 点赞 0 评论 333 浏览 评分: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 评论 448 浏览 评分:4.0
有错误请指出 摘要:解题思路:提前将收入定义为浮点型,方便后面计算注意事项:参考代码:#include <stdio.h>int main(){ int r,y; float m; scanf("%d %f %d",&r…… 题解列表 2022年12月21日 0 点赞 0 评论 635 浏览 评分:9.9