Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Nim CodeGolf #99781

https://codegolf.stackexchange.com/questions/99781/do-n-and-n3-have-the-same-set-of-digits

Language

Nim

Compiler

nim 2.0.8

Options
Raw compiler options
--hints:off

Nim CodeGolf #99781

https://codegolf.stackexchange.com/questions/99781/do-n-and-n3-have-the-same-set-of-digits

$ nim c ./prog.nim --hints:off
equalSetCubed 0 = true
equalSetCubed 1 = true
equalSetCubed 10 = true
equalSetCubed 107624 = true
equalSetCubed 251894 = true
equalSetCubed 251895 = false
equalSetCubed 102343 = false
Exit Code:
0