05AB1E, 17(削除) 17 (削除ここまで) 16 bytes
" "Ç©IED®âO«]I¢ŽGç2в©IED®âO«]I¢
Explanation
" " String containing code points for 6, 9, and 20
Ç ŽGç2в Convert code points to integerThe list to get [6, 9, 20]
© Store this list in register_c
IE Loop <input> number of times
®â Cartesian product stack contents with list in register_c
O Sum up the contents of each sub array
D « List duplicated before taking Cartesian product, concat
] End for loop
I¢ Count occurences of input
05AB1E, 17 bytes
" "Ç©IED®âO«]I¢
Explanation
" " String containing code points for 6, 9, and 20
Ç Convert code points to integer list to get [6, 9, 20]
© Store this list in register_c
IE Loop <input> number of times
®â Cartesian product stack contents with list in register_c
O Sum up the contents of each sub array
D « List duplicated before taking Cartesian product, concat
] End for loop
I¢ Count occurences of input
05AB1E, (削除) 17 (削除ここまで) 16 bytes
ŽGç2в©IED®âO«]I¢
Explanation
ŽGç2в The list [6, 9, 20]
© Store this list in register_c
IE Loop <input> number of times
®â Cartesian product stack contents with list in register_c
O Sum up the contents of each sub array
D « List duplicated before taking Cartesian product, concat
] End for loop
I¢ Count occurences of input
05AB1E, 17 bytes
" "Ç©IED®âO«]I¢
Explanation
" " String containing code points for 6, 9, and 20
Ç Convert code points to integer list to get [6, 9, 20]
© Store this list in register_c
IE Loop <input> number of times
®â Cartesian product stack contents with list in register_c
O Sum up the contents of each sub array
D « List duplicated before taking Cartesian product, concat
] End for loop
I¢ Count occurences of input
05AB1E, 17 bytes
" "Ç©IED®âO«]I¢
Explanation
" " String containing code points for 6, 9, and 20
Ç Convert code points to integer list to get [6, 9, 20]
© Store this list in register_c
IE Loop <input> number of times
®â Cartesian product stack contents with list in register_c
O Sum up the contents of each sub array
D « List duplicated before taking Cartesian product, concat
] End for loop
I¢ Count occurences of input
05AB1E, 17 bytes
" "Ç©IED®âO«]I¢
Explanation
" " String containing code points for 6, 9, and 20
Ç Convert code points to integer list to get [6, 9, 20]
© Store this list in register_c
IE Loop <input> number of times
®â Cartesian product stack contents with list in register_c
O Sum up the contents of each sub array
D « List duplicated before taking Cartesian product, concat
] End for loop
I¢ Count occurences of input
05AB1E, 17 bytes
" "Ç©IED®âO«]I¢
Explanation
" " String containing code points for 6, 9, and 20
Ç Convert code points to integer list to get [6, 9, 20]
© Store this list in register_c
IE Loop <input> number of times
®â Cartesian product stack contents with list in register_c
O Sum up the contents of each sub array
D « List duplicated before taking Cartesian product, concat
] End for loop
I¢ Count occurences of input