题解列表

筛选

python-倍数问题

摘要:解题思路:注意事项:参考代码:from cmath import inf                 n,k = map(int,input().strip().split())     ……

python-正则问题

摘要:解题思路:遇到‘(’时,res = res + dfs()遇到‘|’时,res = max(res,dfs())注意事项:参考代码:def dfs():       global s       ……

python-水仙花数-问题2

摘要:解题思路:从100到1000内的水仙花数注意事项:参考代码:num=100while(num<1000):    g=int(num%10)#个位    s=int(num/10%10)#十位    ……