3209: 蓝桥杯2024年第十五届省赛真题-好数(c语言) 摘要:解题思路:懂的都懂参考代码:#include<stdio.h>int haoshu(int i);int main(){ int n,i,num=0;…… 题解列表 2025年01月30日 6 点赞 0 评论 1533 浏览 评分:9.0
小白的修炼之路-进军蓝桥杯! 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int N,count=0,t1,t2,t3,n; scanf("%d",&N); for(…… 题解列表 2024年04月14日 0 点赞 0 评论 614 浏览 评分:9.0
3209: 蓝桥杯2024年第十五届省赛真题-好数 摘要:解题思路:作为第一道大题,这道题还是很简单的,数据量在10^7 纯暴力时间复杂度是nlogn 也不会超时定义一个vis函数进行检查 用%10获得每一位上的数,定义k作为奇偶位标记 主函数里面循环即可,…… 题解列表 2024年04月14日 0 点赞 1 评论 2921 浏览 评分:9.9
船新解法,结构体(c语言) 摘要:```c #include #include typedef struct { int jishuwei[10],oushuwei[10]; }link; int haoshu…… 题解列表 2024年08月12日 0 点赞 0 评论 460 浏览 评分:9.9
蓝桥杯2024年第十五届省赛真题-好数(暴力) 摘要:解题思路:注意事项:#include <bits/stdc++.h> using namespace std; int n, sum; int main() { cin >>…… 题解列表 2024年04月14日 0 点赞 0 评论 950 浏览 评分:9.9
好数的题解(c语言版本) 摘要:解题思路:注意事项:不要用每个数字直接带入 ,要用temp记录,不然容易死循环参考代码:#include<stdio.h>int main(){ int N = 0; int num = …… 题解列表 2024年04月30日 0 点赞 0 评论 606 浏览 评分:9.9
模拟题暴力题 摘要:``` #include #include #define int long long #define N 10100 using namespace std; bool check(in…… 题解列表 2024年04月16日 0 点赞 0 评论 645 浏览 评分:9.9
蓝桥杯2024年第十五届省赛真题-好数 摘要: #include int main() { int n; int d = 0;; int u = 1; int c = 0;…… 题解列表 2024年12月07日 1 点赞 0 评论 720 浏览 评分:10.0
蓝桥杯2024年第十五届省赛真题-好数 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int judge(int n)//设置一个判断该数是否为好数的函数{ int p=1; //p记录位数,因为从…… 题解列表 2025年03月24日 9 点赞 0 评论 1079 浏览 评分:10.0
c语言好数详解 摘要:解题思路:第一位是奇数位,第二位是偶数位,第三位是奇数位....注意事项:参考代码:#include <stdio.h>int main(){ int n; int i,a; scanf(…… 题解列表 2025年03月21日 3 点赞 0 评论 566 浏览 评分:10.0