Result

WA

Duration

914ms

Code [DL]

(""+require("fs").readFileSync(0)).split("\n").map(a=>console.log(+[...Array(9).keys()].some(i=>a%++i<1&&a/i<=9)))

stdin

36
24
47
48
42
50
84
56
33
94
86
98
64
55
66
65
17
17
58
43
62
77
65
53
88
82
37
69
39
30
93
86
65
70
72
60
59
13
76
15
41
49
67
96
81
57
78
61
14
34
79
25
27
73
28
90
78
35
18
99
75
17
46
52
51
45
23
97
74
84
38
79
19
87
91
22
83
59
81
71
26
89
54
32
11
92
31
68
10
12
29
85
21
16
20
44
80
63
40
95

stdout

1
1
0
1
1
0
0
1
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
1
0
0
0
0
1
0
1
0
0
1
0
0
0
1
0
0
1
1
0
1
0
0
1
1
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
1
0
0
0
0
1
1
0
0
1
1
1
0
0
1
1
0
1

stderr

strace

10    execve("/bin/sh", ["/bin/sh", "/root/script", "/volume/CODE"], 0x7ffc9f6f1cf0 /* 7 vars */) = 0
12    execve("/usr/bin/node", ["/usr/bin/node", "/volume/CODE"], 0x555eab07fd40 /* 7 vars */) = 0
11    execve("/bin/cat", ["cat", "-"], 0x555eab07fd30 /* 7 vars */) = 0
11    +++ exited with 0 +++
10    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=11, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
17    +++ exited with 0 +++
16    +++ exited with 0 +++
14    +++ exited with 0 +++
15    +++ exited with 0 +++
13    +++ exited with 0 +++
18    +++ exited with 0 +++
12    +++ exited with 0 +++
10    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=12, si_uid=0, si_status=0, si_utime=7, si_stime=2} ---
10    +++ exited with 0 +++