import sequtils,strutils,algorithm,math,future,macros template get*():string = stdin.readLine() #.strip() macro unpack*(rhs: seq,cnt: static[int]): auto = let t = genSym(); result = quote do:(let `t` = `rhs`;()) for i in 0.." .} macro scanint(cnt:static[int]): auto = var str = ""; for i in 0.. array で 60ms 早くなる(生成コスト?) for n in 0..