津津的储蓄计划(python版) 摘要:解题思路:注意事项:参考代码:def progress(x,y): if x<y: return -1 else: less=x-y return…… 题解列表 2024年08月12日 0 点赞 0 评论 168 浏览 评分:10.0
编写题解 1332: 津津的储蓄计划(注释清晰,简单易懂) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a[12] = { 0 };  …… 题解列表 2025年02月15日 1 点赞 0 评论 81 浏览 评分:10.0
c语言初学者对津津的救赎 摘要:解题思路:每次算出存钱的累加和实时捏在手上的零钱,预算过大则跳出输出-x注意事项:注意存在妈妈那里的钱是一直在增加的,而津津自己的零钱是不断更新的。为防止数据遗忘,私人钱设为pri(private),…… 题解列表 2023年11月07日 0 点赞 0 评论 363 浏览 评分:9.9
一个for循环即可!! 摘要:解题思路:1.妈妈会固定给的300元;2.自己每个月都会有预算;3.上个月除去整百给妈妈存的,小于100和妈妈给的三百就是当前自己有的。注意事项:参考代码:#include<bits/stdc++.h…… 题解列表 2023年11月17日 0 点赞 0 评论 171 浏览 评分:9.9
无敌妈妈存钱计划!!!!!!!!!!!!!!!! 摘要:解题思路:数组存储接收变量注意事项:参考代码:/* residue[0]=300-budget; residue[1]= 循环//residue[0]+300-budget[1];// …… 题解列表 2024年07月28日 0 点赞 0 评论 209 浏览 评分:9.9
1332: 津津的储蓄计划(python) 摘要:解题思路:注意事项:参考代码:m = 0 x = 0 month = 1 isTrue = True while True: try: n = int(input(…… 题解列表 2023年02月21日 0 点赞 0 评论 413 浏览 评分:9.9
津津的储蓄计划 摘要:解题思路:注意事项: 该赋的初值一定要注意赋!参考代码://用标记法 #include<stdio.h> int main() { int i,flag…… 题解列表 2023年12月11日 0 点赞 0 评论 160 浏览 评分:9.9
1332: 津津的储蓄计划(C语言数组解法) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main(){ int a[12]; // 每个月的预算 int i; for(i = 0; i < 12;…… 题解列表 2023年07月08日 0 点赞 2 评论 485 浏览 评分:9.9
java--study||O.o 摘要:参考代码:import java.util.Scanner; public class Main { public static void main(String[] args) …… 题解列表 2024年01月12日 0 点赞 0 评论 138 浏览 评分:9.9
for和好多if的故事 摘要:#include<stdio.h> int main() { int budget,i,b1=0,b2=0,b3=0; //b1是每月300减去预算的钱,就是每月的结余 //b2…… 题解列表 2023年08月23日 0 点赞 5 评论 236 浏览 评分:9.9