输出个数、各数、逆序 摘要:解题思路:事项:1、循环数个数 2、采用高到低位3、重新提取数字,然后逆序输出就行了参考代码:#include <stdio.h>int main() { int n,a=0; scanf…… 题解列表 2024年11月24日 1 点赞 0 评论 974 浏览 评分:0.0
[编程入门]自定义函数处理素数-题解(Java代码) 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main { public static void main(String[] args) {…… 题解列表 2024年11月24日 0 点赞 0 评论 237 浏览 评分:9.9
数字金字塔,记忆化dfs,点进来吧万一就看懂了呢 摘要:解题思路:注意事项:参考代码:#include"bits/stdc++.h" using namespace std; // 全局变量声明 int r, sss; // r表示三角形的行数,ss…… 题解列表 2024年11月23日 0 点赞 0 评论 228 浏览 评分:0.0
3031: 分解因数 摘要:解题思路:注意事项:参考代码:#include <iostream> #include <stdlib.h> #include <stdbool.h> #include <stdio.h> #…… 题解列表 2024年11月23日 0 点赞 0 评论 725 浏览 评分:9.9
1017: [编程入门]完数的判断 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int i, j, n, sum; cin >>…… 题解列表 2024年11月23日 0 点赞 0 评论 290 浏览 评分:0.0
[编程入门]自定义函数之数字后移 摘要:扩充挪到前面的代码先输出,没动的代码先输出,但是内存可能不够参考代码: #include<stdio.h>int a[100000];int main(){ int n,m; scanf(…… 题解列表 2024年11月23日 1 点赞 0 评论 306 浏览 评分:0.0
普普通通的解题方法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main (){ int n, j, a[1001],l; scanf("%d",&n); for ( j = 1; j …… 题解列表 2024年11月23日 1 点赞 0 评论 220 浏览 评分:0.0
详细解释我的代码这么写的原因 摘要:解题思路: 定义两个字符串数组a1\a2 和两个整数数组b1\b2 还有存放他们的和的整数数组sum , 并且将他们全部初始化为0, 将a1\a2里面的每一个数字 按照分位从大到小 分开存…… 题解列表 2024年11月23日 1 点赞 0 评论 477 浏览 评分:0.0
2000-普普通通的解题方法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,t; scanf("%d",&n); for (int i = 0;i<n;i++) { if …… 题解列表 2024年11月23日 1 点赞 0 评论 449 浏览 评分:0.0
信息学奥赛一本通T1323-活动选择,来看看吧╮(¯▽¯)╭ 摘要:解题思路:注意事项:参考代码:#include"bits/stdc++.h" using namespace std; // 定义结构体a,包含两个整数成员b和e struct a{ …… 题解列表 2024年11月23日 0 点赞 0 评论 149 浏览 评分:0.0