蓝桥杯2022年第十三届省赛真题-GCD 摘要:解题思路://考察gcd性质,根据更相减损术可以知道一个等式:gcd(a,b)=gcd(a,b-a) 当然这里的前提时a<=b;//所以gcd(a+k,b+k)=gcd(a+k,b-a) 这里的a…… 题解列表 2023年02月20日 0 点赞 0 评论 1750 浏览 评分:9.9
最最最简单的一种方法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a[3][3]; int i,j; //int t; for(i=0;i<3;i…… 题解列表 2023年02月21日 0 点赞 0 评论 424 浏览 评分:9.9
新手版,简单易懂 摘要:解题思路:循环赋值注意事项:转换类型参考代码: Scanner scanner = new Scanner(System.in); int shuru = scanner.…… 题解列表 2023年02月21日 0 点赞 2 评论 196 浏览 评分:9.9
1332: 津津的储蓄计划(python) 摘要:解题思路:注意事项:参考代码:m = 0 x = 0 month = 1 isTrue = True while True: try: n = int(input(…… 题解列表 2023年02月21日 0 点赞 0 评论 585 浏览 评分:9.9
1654: 蓝桥杯算法训练VIP-确定元音字母位置(超级简洁)(超级易懂)新手也适合看 摘要: import java.util.*; public class 确定元音字母位置 { public static void main(String[] args) { Scanner…… 题解列表 2023年02月21日 0 点赞 0 评论 376 浏览 评分:9.9
2990:python十进制到八进制(超级简单两行!!!) 摘要: n = int(input()) // 只用了两行,直接发布题解c语言网不让。 // 这系统嫌我太简洁。 // 真服了。 // 只能多几行废话了。 // 凑活看吧。 …… 题解列表 2023年02月21日 0 点赞 0 评论 405 浏览 评分:9.9
2815: 求特殊自然数(python) 摘要:解题思路:注意事项:参考代码:for a in range(1,7): for b in range(0,7): for c in range(1,7): …… 题解列表 2023年02月21日 0 点赞 1 评论 450 浏览 评分:9.9
2820: 含k个3的数(python) 摘要:解题思路:注意事项:参考代码:m,k = input().split() y = "NO" if int(m) % 19 == 0 and m.count("3") == int(k): …… 题解列表 2023年02月21日 0 点赞 0 评论 424 浏览 评分:9.9
结构体之成绩统计2 摘要:- 解题思路:用两个函数完成输入与输出,具体见代码注释 - 代码如下: ```c #include #include typedef struct stduent { char i…… 题解列表 2023年02月21日 0 点赞 0 评论 336 浏览 评分:9.9
常规解法 求金币 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int n,k=0,m=0,sum=0; cin>>n; …… 题解列表 2023年02月21日 0 点赞 0 评论 363 浏览 评分:9.9