题解列表
编写题解 3015: 幂的末尾
摘要:解题思路:注意事项:参考代码:a,b=map(int,input().split())c=pow(a,b)d=c%1000print(f'{d:0>3d}')……
蓝桥杯2023年第十四届省赛真题-子串简写(C语言)此方法为暴力解法
摘要:解题思路:此方法为暴力解法,所以只考虑拿部分分数,只过百分之20的数据,直接模拟算法过程就可以注意事项:参考代码:#include <stdio.h>#include <string.h>signed……
编写题解 3016: 第几项
摘要:解题思路:利用循环,满足条件 break,跳出循环注意事项:m,n为正整数,当m=1时,range(1,1)不起作用参考代码:m=int(input())s=0#加和for n in range(1,……
2788: 晶晶赴约会
摘要://参考代码:
#include<iostream>
using namespace std;
int main()
{
int a;
cin >> a;
cout << (a =……
蓝桥杯历届试题-回文数字
摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>
using namespace std;
int n;
int dight[6];
bool judge(int ……