题解列表

筛选

数组解答100以内长度密码破译(新手版)

摘要:解题思路:一,设置数组变量a[],长度给100                     设置整数变量i,用作计数和数组下标                     设置字符变量t,用作接受输入和传递给……

素数回文优质题解c++

摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;bool a[100001000];int main(){ long long n1,n2,t……

数组的距离

摘要:#include #include using namespace std; int main() {     int num1,num2,a[1010],b[1010],temp,sum=……

地宫取宝DP解法

摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; const int N=60,mod=1e9+7; int f[N][N][13][……

这个程度为啥是中等题?

摘要:解题思路:注意事项:参考代码:a,b=map(int,input().split()) c=0 for i in range(a,b+1):     if i%3==1 and i%5==3:……

混个经验值

摘要:解题思路:注意事项:参考代码:a=list(map(int,input().split())) a=sorted(a,reverse=False) for i in a:     print(i……

混个经验值

摘要:解题思路:注意事项:参考代码:a=list(map(int,input().split())) a=sorted(a,reverse=True) for i in a:     print(i,……