摘要: n=int(input()) def get_premi(max_val): v=[1]*(max_val+1) for x in range(2,max_val+1): if v[x]: for i in range(x*x,max_val+1,x): v[i]=0 premi=[i for i 阅读全文
posted @ 2024-11-05 21:53 邓佑孤 阅读(0) 评论(0) 推荐(0) 编辑