题解列表

筛选

第二大整数——python

摘要:解题思路:注意事项:参考代码:L = list(map(int,input().split()))L1 = []for i in L:    if i == 0:        break    el……

特殊回文数python

摘要:解题思路:注意事项:参考代码:def hui(n):    if str(n)==str(n)[::-1]:        return 1    else:        return 0n = i……

字符個數統計c語言

摘要:解题思路:需要調用函數,而且此函數還需給出4個統計值,故需要使用指針,函數只能返回0個或一個值注意事项:参考代码:#include<stdio.h> void cnt_fun(char total[]……

记忆化搜索博弈树

摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int n,len;unordered_map<string,int> vis;//……

BFS+康托压缩

摘要:解题思路:注意事项:参考代码:#includeusing namespace std;string s1,s2;int a[5][5],b[5][5];int jiecheng[10]={1,1,2,……