Data update
This commit is contained in:
parent
5150844a7d
commit
4bb20c9b71
7735 changed files with 38060 additions and 199180 deletions
|
|
@ -1,17 +0,0 @@
|
|||
Function Narcissist(n)
|
||||
i = 0
|
||||
j = 0
|
||||
Do Until j = n
|
||||
sum = 0
|
||||
For k = 1 To Len(i)
|
||||
sum = sum + CInt(Mid(i,k,1)) ^ Len(i)
|
||||
Next
|
||||
If i = sum Then
|
||||
Narcissist = Narcissist & i & ", "
|
||||
j = j + 1
|
||||
End If
|
||||
i = i + 1
|
||||
Loop
|
||||
End Function
|
||||
|
||||
WScript.StdOut.Write Narcissist(25)
|
||||
Loading…
Add table
Add a link
Reference in a new issue