蓝桥杯历届试题-翻硬币,这真的是比赛题吗? 摘要:解题思路:注意事项:参考代码:#include"bits/stdc++.h" using namespace std; int main(){ // 定义两个字符串变量s1和s2,用于存…… 题解列表 2024年11月16日 0 点赞 0 评论 378 浏览 评分:2.0
蓝桥杯2024年第十五届省赛真题-好数 摘要:解题思路:非常规解法,专门对付10^18次方的大数量级注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int k1[]={1,3,5,7,9}…… 题解列表 2024年11月20日 0 点赞 0 评论 574 浏览 评分:2.0
2782普普通通的解题方法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,m; scanf("%d%d",&n,&m); if (n<m) printf("<"); if …… 题解列表 2024年11月23日 0 点赞 0 评论 719 浏览 评分:2.0
直接写就得了 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,max=0; scanf("%d",&a); while(a) { …… 题解列表 2024年11月26日 0 点赞 0 评论 336 浏览 评分:2.0
stack_STL + 详细注释#1683: 数据结构-表达式求值(C++) 摘要:``` #define _CRT_SECURE_NO_WARNINGS 1 #include #include #include #include #include #include …… 题解列表 2024年11月26日 2 点赞 0 评论 498 浏览 评分:2.0
[C语言]函数之整数整理——调用函数求解 摘要:解题思路:主调函数输入输出函数,被调函数处理数字交换注意事项:感觉没什么注意事项嘿嘿参考代码:#include <stdio.h>void fun(int a[10]){ int i; i…… 题解列表 2024年11月29日 0 点赞 0 评论 585 浏览 评分:2.0
题解 1011: [编程入门]最大公约数与最小公倍数【辗转相除法(简单易懂版本)】 摘要:解题思路:输入两个正整数 m 和 n通过 scanf 读取两个整数 m 和 n,这两个数是我们要求最大公约数(GCD)和最小公倍数(LCM)的对象。2.计算最大公约数 (GCD) 使用辗转相除法最大公…… 题解列表 2024年11月30日 1 点赞 0 评论 1365 浏览 评分:2.0
新人小白仅供参考 摘要:解题思路:注意事项:参考代码:#include <stdio.h> int N; struct f{ char num[10]; char name[10]; …… 题解列表 2024年12月01日 1 点赞 0 评论 568 浏览 评分:2.0
c语言代码易懂 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>int main(){ int m,n,sum=0; scanf ("%d %d",…… 题解列表 2024年12月04日 0 点赞 0 评论 451 浏览 评分:2.0
字典写了一遍 摘要:解题思路:试了试字典写法注意事项:有的慢,还可以优化,个人水平不足,供各位参考参考代码:d=[]d1={}n,m=map(int,input().split())for i in range(n): …… 题解列表 2024年12月08日 0 点赞 0 评论 464 浏览 评分:2.0