题解列表

筛选

python-素因子去重

摘要:解题思路:这道题的意思也就是让你分解n的素因子乘积,然后去掉重复的素因子,将剩下的素因子相乘得到p例如1000 = 2*2*2*5*5*5那么去重之后的素因子为2和5,则p= 2*5 = 10注意事项……

python-出现次数最多的整数

摘要:解题思路:注意事项:参考代码:n = int(input().strip())   A = dict()   for i in range(n):       n = int(input().s……

偶数求和 java题解

摘要:解题思路:注意事项:参考代码:  public static void main(String[] args) {        Scanner sc = new Scanner(System.in)……

python-Anagrams问题

摘要:解题思路:注意事项:参考代码:s1 = sorted(input().lower())   s2 = sorted(input().lower())      if s1 == s2:    ……