Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

over 2 years ago

Language

Nim

Compiler

nim 1.6.10

Options

Author

anonymous

over 2 years ago

$ nim c ./prog.nim
Hint: used config file '/opt/wandbox/nim-1.6.10/config/nim.cfg' [Conf]
Hint: used config file '/opt/wandbox/nim-1.6.10/config/config.nims' [Conf]
..................................................................
CC: ../../opt/wandbox/nim-1.6.10/lib/std/private/digitsutils.nim
CC: ../../opt/wandbox/nim-1.6.10/lib/system/assertions.nim
CC: ../../opt/wandbox/nim-1.6.10/lib/system/dollars.nim
CC: ../../opt/wandbox/nim-1.6.10/lib/system/io.nim
CC: ../../opt/wandbox/nim-1.6.10/lib/system.nim
CC: ../../opt/wandbox/nim-1.6.10/lib/pure/math.nim
CC: ../../opt/wandbox/nim-1.6.10/lib/pure/collections/sets.nim
CC: prog.nim
Hint:  [Link]
Hint: gc: refc; opt: none (DEBUG BUILD, `-d:release` generates faster code)
32544 lines; 0.419s; 39.316MiB peakmem; proj: /home/jail/prog.nim; out: /home/jail/prog [SuccessX]
a1={3, 2, 6, 5}
a2={3, 4, 5, 7, 8, 1}

a1 -+- a2={4, 2, 6, 7, 8, 1}
a1.disjoint(a2)=false
a1.disjoint(a2-a1)=true
a1.pop=3
a1={2, 6, 5}

a1.missingOrExcl(5)=false
a1.missingOrExcl(5)=true
a1={2, 6}
a1.containsOrIncl(5)=false
a1.containsOrIncl(5)=true
a1={2, 6, 5}
a1.hash=-638623075856797593
a1.map(proc (x: int): int = x * x)={4, 36, 25}
a1={}

Exit Code:
0