1332: 津津的储蓄计划(python) 摘要:解题思路:注意事项:参考代码:m = 0 x = 0 month = 1 isTrue = True while True: try: n = int(input(…… 题解列表 2023年02月21日 0 点赞 0 评论 626 浏览 评分:9.9
1332: 津津的储蓄计划(C语言数组解法) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main(){ int a[12]; // 每个月的预算 int i; for(i = 0; i < 12;…… 题解列表 2023年07月08日 0 点赞 2 评论 714 浏览 评分:9.9
津津的储蓄计划(简单明了) 摘要:解题思路:输出格式用%d时,不能用(存钱总数*1.2+12月份直接表示,因为它是实数型),要转换类型,才能得到正确结果。注意事项:参考代码:#include<stdio.h>int main(){ …… 题解列表 2023年02月09日 0 点赞 0 评论 967 浏览 评分:9.9
津津的储蓄计划(不懂我吃屎) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main() { int cost, f, mama = 0, flag = 1, money = 0, i = 1;// c…… 题解列表 2022年11月21日 0 点赞 0 评论 644 浏览 评分:8.7
津津的储蓄计划——for循环解题。(有细节) 摘要:解题思路:注意事项:不看会吃亏。(开玩笑的,我是菜鲲,欢迎大佬点评!)参考代码:#include<stdio.h>int main(){ int s=0,j=0,i,k=0; int a[…… 题解列表 2022年12月15日 0 点赞 0 评论 515 浏览 评分:8.0
津津的储蓄计划 摘要:e,大家凑活着看,这第一次与这个编译模式... ``` //#include //#include //#include #include using namespace std; i…… 题解列表 2024年03月10日 0 点赞 1 评论 462 浏览 评分:7.3
储蓄简单方法 摘要:解题思路:注意事项:参考代码:sum = 0list1 = []count = 0sum_mom = 0flag = 1 #若不破产flag = 1for i in range(12): #12个月 …… 题解列表 2023年11月14日 0 点赞 0 评论 411 浏览 评分:6.0
1332: 津津的储蓄计划 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a[12];//每个月的预算 int i; for(i=0;i<12;i++) { scanf("%…… 题解列表 2023年08月03日 0 点赞 1 评论 367 浏览 评分:4.7
聚焦核心:余钱和预算够不够?记得更新 摘要:解题思路:1.循环输入2.每个月增量 用+=3.聚焦核心对比 预算够不够 4.不够cout,够再存下一步5.记得更新金额,进入下一个循环注意事项:聚焦核心:余钱和预算够不够?只比较这一件事更新容易忘了…… 题解列表 2024年11月24日 0 点赞 0 评论 347 浏览 评分:0.0
津津的储蓄计划 摘要:解题思路:注意事项:参考代码w = 0s = 0flag = Falsefor i in range(12): n = int(input()) w += 300 if n > w:…… 题解列表 2024年07月30日 0 点赞 0 评论 325 浏览 评分:0.0