#1234: don't see this


1551773-x@g.puiching.edu.mo (S1B16梁日誠)

School : Pui Ching Middle School
ID : 2512
IP address : [192.168.120.33]
Last Login :
2024-11-22 14:51:11
a101. 「101」身邊的朋友 | From: [192.168.120.33] | Post Date : 2023-06-08 16:23

def IsPrime(a): for i in range(2,round(a**0.5)+1): if a%i == 0: return(False) return(True) x = int(input()) z = [] for i in range(101-x, 101+x+1): if IsPrime(i) and i != 101: z.append(i) if len(z)==0: print("嗯") else: print(*z)

 
#1235: Re:don't see this


1360467-8@g.puiching.edu.mo (tetris)

School : No School
ID : 1791
IP address : [192.168.120.33]
Last Login :
2024-11-23 16:38:06
a101. 「101」身邊的朋友 | From: [192.168.120.33] | Post Date : 2023-06-08 17:17

def IsPrime(a): for i in range(2,round(a**0.5)+1): if a%i == 0: return(False) return(True) x = int(input()) z = [] for i in range(101-x, 101+x+1): if IsPrime(i) and i != 101: z.append(i) if len(z)==0: print("嗯") else: print(*z)


這麼簡單還要send程式碼

而且程式碼還是錯的

 
#1272: Re:don't see this


1454530-6@g.puiching.edu.mo (S2A13區叡恆)

School : Pui Ching Middle School
ID : 1680
IP address : [192.168.120.33]
Last Login :
2024-10-30 13:23:33
a101. 「101」身邊的朋友 | From: [192.168.120.33] | Post Date : 2023-06-12 20:48

def IsPrime(a): for i in range(2,round(a**0.5)+1): if a%i == 0: return(False) return(True) x = int(input()) z = [] for i in range(101-x, 101+x+1): if IsPrime(i) and i != 101: z.append(i) if len(z)==0: print("嗯") else: print(*z)


這麼簡單還要send程式碼

而且程式碼還是錯的


...

 
ZeroJudge Forum