import math def isPrime(x): if x <= 1: return False for i in range(2, int(math.sqrt(x)+1)): if x%i ==0: return False else: return True
1

相关推荐

牛客网
牛客网在线编程
牛客网题解
牛客企业服务