一个for循环即可!! 摘要:解题思路:1.妈妈会固定给的300元;2.自己每个月都会有预算;3.上个月除去整百给妈妈存的,小于100和妈妈给的三百就是当前自己有的。注意事项:参考代码:#include<bits/stdc++.h…… 题解列表 2023年11月17日 0 点赞 0 评论 170 浏览 评分:9.9
津津的储蓄计划 摘要:e,大家凑活着看,这第一次与这个编译模式... ``` //#include //#include //#include #include using namespace std; i…… 题解列表 2024年03月10日 0 点赞 1 评论 256 浏览 评分:7.3
津津的储蓄计划 摘要:解题思路:数组与for循环注意事项:参考代码:int main(){ int m1[12] = { 0 }; int m2[13] = { 300,0,0,0,0,0,0,0,0,0,0,0,0 };…… 题解列表 2024年01月31日 0 点赞 0 评论 163 浏览 评分:0.0
简单数学算法 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;#include <iomanip>#include <cmath>int main(){ …… 题解列表 2024年03月26日 0 点赞 0 评论 94 浏览 评分:0.0
逐层拆开逻辑,还原每一次计算的过程 摘要:解题思路:逐层拆开逻辑,还原每一次计算的过程。注意,rest+300的位置,前后需要有区分,否则容易混淆。参考代码:#include<iostream> using namespace std; …… 题解列表 2024年12月03日 0 点赞 0 评论 89 浏览 评分:0.0