题解 1332: 津津的储蓄计划

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

筛选

1332: 津津的储蓄计划(python)

摘要:解题思路:注意事项:参考代码:m = 0 x = 0 month = 1 isTrue = True while True:     try:         n = int(input(……

津津的储蓄计划(简单明了)

摘要:解题思路:输出格式用%d时,不能用(存钱总数*1.2+12月份直接表示,因为它是实数型),要转换类型,才能得到正确结果。注意事项:参考代码:#include<stdio.h>int main(){  ……

津津的储蓄计划

e,大家凑活着看,这第一次与这个编译模式...```//#include//#include//#include#includeusingnamespacestd;intmain(){inta[12];for(inti=0;i>a[i];}intt=0,

储蓄简单方法

解题思路:注意事项:参考代码:sum=0list1=[]count=0sum_mom=0flag=1#若不破产flag=1foriinrange(12):#12个月sum=sum+300#零花钱每次都加上300元n=int(input())#输入花销sum-=n#零花钱减花销whilesum>=100

1332: 津津的储蓄计划

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a[12];//每个月的预算 int i; for(i=0;i<12;i++)  { scanf("%……

津津的储蓄计划

摘要:解题思路:注意事项:参考代码w = 0s = 0flag = Falsefor i in range(12):    n = int(input())    w += 300    if n > w:……