编写题解 1034: [编程入门]自定义函数之数字分离 摘要:解题思路:注意事项:参考代码:#include <stdio.h>void fun (int n){ int i; int cnt[10]; for(i=0;i<4;i++){ cnt[3-i]=n…… 题解列表 2023年07月12日 0 点赞 0 评论 342 浏览 评分:0.0
蓝桥杯基础练习VIP-FJ的字符串(C++) 摘要:参考代码:#include <iostream>#include <string>using namespace std;string getAN(int n) { if (n == 1) { …… 题解列表 2023年07月12日 0 点赞 0 评论 423 浏览 评分:9.9
优质题解 2819: 数字反转(详细题解) 摘要:题目解析: 给定的代码是一个简单的整数反转程序,它使用了循环和取模运算符来实现数字的反转。解题思路:1. 首先定义一个变量 ans 并将其初始化为 0,用于存储反转后的数字。2. 通过循环遍历给定的…… 题解列表 2023年07月13日 2 点赞 0 评论 1190 浏览 评分:8.7
优质题解 2818: 分离整数的各个数位(详细题解) 摘要:题目描述: 给定一个整数,要求从个位开始分离出它的每一位数字,并按照从低位到高位的顺序依次输出每一位数字。解题思路:1. 首先读取输入的整数 n。2. 使用循环,当 n 不为 0 时执行以下步骤。3…… 题解列表 2023年07月13日 4 点赞 2 评论 2023 浏览 评分:7.9
报数问题代码 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int findLastPerson(int n) { int circle[n]; int count = 0; …… 题解列表 2023年07月13日 0 点赞 0 评论 430 浏览 评分:0.0
比较数的大小 摘要:解题思路:注意事项:数据的范围参考代码:#include <stdio.h>int main(){ unsigned a; int b; scanf("%u %d",&a,&b); …… 题解列表 2023年07月13日 0 点赞 0 评论 396 浏览 评分:0.0
1018: [编程入门]有规律的数列求和(python) 摘要: n=int(input()) sum=0.0 a=1.0 b=1.0 k=0.0 for i in range(1,n+1): k=b b = a + b a …… 题解列表 2023年07月13日 0 点赞 0 评论 488 浏览 评分:0.0
感谢支持,谢谢你们的支持 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){ int a,b,d,j,i; char c; ci…… 题解列表 2023年07月13日 0 点赞 0 评论 351 浏览 评分:9.9
画矩形行行 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int a,b,k; char c; c…… 题解列表 2023年07月13日 0 点赞 0 评论 315 浏览 评分:0.0
余数相同问题 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int a,b,c; cin>>a>>b>>c…… 题解列表 2023年07月13日 0 点赞 0 评论 279 浏览 评分:0.0