level 1
判断一个任意位数的整数各位数字是否有重复的函数:(返回True表示没有重复)
Function Judge(ByVal n As Integer) As Boolean
Dim f(9) As Boolean, m As Integer
Do
m = n Mod 10
n = n \ 10
If f(m) Then Exit Function
f(m) = True
Loop Until n = 0
Judge = True
End Function
2023年03月11日 13点03分
