题解列表
1256: 诡秘的余数
摘要:解题思路:注意事项:参考代码:while True:
try:
a,b=map(int,input().split())
if a<b:
……
题解 2002: 计算数字个数 通俗易懂
摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <string.h>int main(){char a[100];int i,n,j=0;gets(a);n=str……
很简单的思路 有需要可以看看 递归回溯全排列 + 判断
摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main { static int ans; static int N; publ……
编写题解 1257: 超级楼梯
摘要:解题思路:参考代码:def f(x):
if x <= 2:
return 1
else:
return f(x-1)
二级C语言-平均值计算 通俗易懂
摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,a[10],sum=0,cot=0; float b; for(i=0;i<10;i++){ sc……
哈哈哈,没想到还有那么一题简单得不行的题吧!!!
摘要:解题思路:简简单单!注意事项:无!!参考代码:#include
using namespace std;
int main()
{
int a,b;
cin>>a>>b;
……
括号序列20202020
摘要:#include
#include
#include
using namespace std;
using LL=long long;
const int N=5005;
int f[N]……
蓝桥杯2020年第十一届国赛真题-循环小数python解法
摘要:解题思路:注意事项:参考代码:p,q = map(int,input().split())a = int(input())a = int(a/(10**q) * 10**q - int(a/(10**……
python-连号区间数
摘要:解题思路:建立两层循环。第一层循环为l,第二层循环为r。每次更新区间[l,r]的最小值和最大值。如果(最大值-最小值)= (r-l),则连续区间数量加1。注意事项:参考代码:def f(n):
……