| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 67017 | 胡海峰老师 | 寻找绝对素数 | Python3 | Runtime Error | 4001 MS | 3784 KB | 371 | 2024-03-12 20:04:07 |
def isPrime(n): if n<2: return False for x in range(2,n): if n%x ==0: return False return True res =[] m,n = list(map(int,input().split())) for x in range(m,n+1): y = int(str(x)[::-1]) if isPrime(x)+isPrime(y)==2: res.append(str(x)) if len(res)>0: print(','.join(res)) else: print("No")
Runtime Error:[ERROR] A not allowed system call. Call ID:511