Result

AC

Duration

913ms

Code [DL]

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

stdin

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

stdout

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

stderr

strace

10    execve("/bin/sh", ["/bin/sh", "/root/script", "/volume/CODE"], 0x7ffc193dfa40 /* 7 vars */) = 0
11    execve("/bin/cat", ["cat", "-"], 0x55e3a3dedd30 /* 7 vars */) = 0
12    execve("/usr/bin/node", ["/usr/bin/node", "/volume/CODE"], 0x55e3a3dedd40 /* 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} ---
16    +++ exited with 0 +++
17    +++ exited with 0 +++
15    +++ exited with 0 +++
14    +++ 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=3} ---
10    +++ exited with 0 +++