python 2808: 买房子 摘要:注意事项:第一年200万,从第二年开始循环计算。参考代码:N, K = map(int, input().split()) money = 200 amount = N year = 1 wh…… 题解列表 2024年03月13日 0 点赞 0 评论 401 浏览 评分:0.0
买房子C语言解 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ double M; int i,N,K,is=0; scanf("%d %d",&N,&K);…… 题解列表 2024年02月18日 0 点赞 0 评论 360 浏览 评分:0.0
2808: 买房子 摘要:解题思路:注意事项:参考代码:n,k = map(int,input().split())year=0money=200k=k*0.01for i in range(1,22): if i>20:…… 题解列表 2023年11月19日 0 点赞 0 评论 306 浏览 评分:0.0
买房子(第一年房子没涨价) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int N, K,i=2; float money=200.0; scanf("%d %d", &N, &K);…… 题解列表 2023年11月19日 0 点赞 0 评论 320 浏览 评分:0.0
2808: 买房子 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<iomanip> #include<cmath> using namespace std; int mai…… 题解列表 2023年11月17日 0 点赞 0 评论 297 浏览 评分:0.0
买房子(用while时,小心时间超限) 摘要:参考代码: ```c #include int main() { int n,sum1; double sum2=200,k; scanf("%d%lf",&n,&k); su…… 题解列表 2023年09月08日 0 点赞 0 评论 425 浏览 评分:0.0
2808: 买房子 (中关村怎么可能有这么便宜的房子) 摘要:解题思路:注意事项:参考代码:#include <iostream> // #include <sstream> #include <cstdio> // #include <algorithm…… 题解列表 2023年02月10日 0 点赞 0 评论 343 浏览 评分:0.0
2808: 买房子 摘要:解题思路:注意事项:参考代码:a = 200n,k = map(int,input().split())for i in range(1,22): if i > 20: print…… 题解列表 2023年02月07日 0 点赞 0 评论 445 浏览 评分:0.0
2808: 买房子 摘要:for循环 ```java public class 买房子 { public static void main(String[] args) { Scanner sc…… 题解列表 2023年04月22日 0 点赞 0 评论 325 浏览 评分:4.5
编写题解 2808: 买房子 摘要:解题思路:注意事项:参考代码:N, K = map(int, input().split()) money = N price = 200 for i in range(2, 23): …… 题解列表 2023年12月19日 1 点赞 2 评论 443 浏览 评分:7.3