优质题解 编写题解 1120: C语言训练-"水仙花数"问题2 摘要:解题思路: 1、创建4个int类型的变量,分别是:g(个位上的数),s(十位上的数),b(百位上的数),h(和) 2、循环开始是100(最小的三位数),到999(最大的三位数) …… 题解列表 2023年07月13日 1 点赞 0 评论 1043 浏览 评分:7.6
C语言训练-百钱百鸡问题 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ cout<<"cock=0,hen=25,chick…… 题解列表 2023年07月13日 0 点赞 0 评论 242 浏览 评分:9.9
鸡你太美问题 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>int main() {printf("cock=0,hen=25,chicken=75\ncock=4,hen=18,c…… 题解列表 2023年07月13日 0 点赞 0 评论 426 浏览 评分:9.9
感谢支持,谢谢你们的支持 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ cout<<"cock=0,hen=25,chicken=75"<…… 题解列表 2023年07月13日 0 点赞 0 评论 368 浏览 评分:0.0
题解 2831: 画矩形 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int a,b,d; char c; c…… 题解列表 2023年07月13日 0 点赞 0 评论 247 浏览 评分:9.9
余数相同问题 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int a,b,c; cin>>a>>b>>c…… 题解列表 2023年07月13日 0 点赞 0 评论 217 浏览 评分:0.0
画矩形行行 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int a,b,k; char c; c…… 题解列表 2023年07月13日 0 点赞 0 评论 219 浏览 评分:0.0
感谢支持,谢谢你们的支持 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){ int a,b,d,j,i; char c; ci…… 题解列表 2023年07月13日 0 点赞 0 评论 282 浏览 评分:9.9
优质题解 2818: 分离整数的各个数位(详细题解) 摘要:题目描述: 给定一个整数,要求从个位开始分离出它的每一位数字,并按照从低位到高位的顺序依次输出每一位数字。解题思路:1. 首先读取输入的整数 n。2. 使用循环,当 n 不为 0 时执行以下步骤。3…… 题解列表 2023年07月13日 3 点赞 2 评论 1815 浏览 评分:7.9
优质题解 2819: 数字反转(详细题解) 摘要:题目解析: 给定的代码是一个简单的整数反转程序,它使用了循环和取模运算符来实现数字的反转。解题思路:1. 首先定义一个变量 ans 并将其初始化为 0,用于存储反转后的数字。2. 通过循环遍历给定的…… 题解列表 2023年07月13日 1 点赞 0 评论 1024 浏览 评分:8.7