1989: 奇数个数 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<iomanip> #include<cmath> using namespace std; int mai…… 题解列表 2023年10月17日 0 点赞 0 评论 351 浏览 评分:9.9
1988: 求总时间-----递归 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<iomanip> #include<cmath> using namespace std; double …… 题解列表 2023年10月17日 0 点赞 0 评论 413 浏览 评分:0.0
1987: 考试评级 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<cmath> using namespace std; int main() { int sco…… 题解列表 2023年10月17日 0 点赞 0 评论 395 浏览 评分:0.0
发工资咯 (一往直前!贪心法) 摘要:###贪心法就是遵循某种规则,不断贪心地选取当前最优策略 解题思路: 题目问最少需要多少张人民币,每次都先选面值最大的,当剩余的钱不够一张最大的面值时再用次大的人民币 依次类推就找到了最优解。 …… 题解列表 2023年10月17日 0 点赞 0 评论 541 浏览 评分:9.9
1986: 鸡兔同笼 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<cmath> using namespace std; int main() { int n; …… 题解列表 2023年10月17日 0 点赞 0 评论 368 浏览 评分:0.0
1981: 输出M到N的数 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<cmath> using namespace std; int main() { int a,b…… 题解列表 2023年10月17日 0 点赞 0 评论 331 浏览 评分:0.0
1980: 求阶梯水费 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<cmath> using namespace std; int main() { int x; …… 题解列表 2023年10月17日 0 点赞 0 评论 446 浏览 评分:0.0
1979: 求平均工资 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<cmath> using namespace std; int main() { int n; …… 题解列表 2023年10月17日 1 点赞 0 评论 400 浏览 评分:10.0
1978: 分类计算 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<cmath> using namespace std; int main() { int a,b…… 题解列表 2023年10月17日 0 点赞 0 评论 433 浏览 评分:0.0
ddd看这里,三位数反转,一眼就懂,不懂包教会 摘要:解题思路:分离百位,十位,个位数字注意事项:输出一定得加“\n”,要不然第二轮测试点过不了参考代码:#includeint main(){ // int a,b; // while(~sc…… 题解列表 2023年10月17日 1 点赞 4 评论 850 浏览 评分:7.3