题解 2808: 买房子

来看看其他人写的题解吧!要先自己动手做才会有提高哦! 
返回题目 | 我来写题解

筛选

for and if买房子

摘要:解题思路:注意事项:参考代码:#include <iostream>#include <cmath>using namespace std;int main(){    double y=200;  ……

题解2808买房子

摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int a,b;&n……

2808: 买房子

摘要:#include <bits/stdc++.h>using namespace std;int main(){ double y=200; ……

题目 2808: 买房子

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main() { int N, K; double house_……

最普通的解题方法

摘要:解题思路:注意事项:参考代码:#include<math.h>int main(){    int i,n,m;    float s1=0,s2=0;    scanf("%d %d",&n,&m)……

题解 2808: 买房子

摘要:解题思路:注意事项:参考代码:# 输入年薪N和房价增长率K  n, k = map(int, input().strip().split())    # 初始化变量  a = n  # 程序员积攒的总……