This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class TimeInfo | |
attr_accessor :time, :decision, :parent_idx | |
def initialize(time, decision, parent_idx) | |
@time = time | |
@decision = decision | |
@parent_idx = parent_idx | |
end | |
end | |
class Tokyu |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"1111 : there are 0 answers" | |
[] | |
"1112 : there are 0 answers" | |
[] | |
"1113 : there are 0 answers" | |
[] | |
"1114 : there are 24 answers" | |
["11+14+*", "11+41+*", "11+14+*", "11+41+*", "14+11+*", "14+11+*", "11+14+*", "11+41+*", "11+14+*", "11+41+*", "14+11+*", "14+11+*", "11+14+*", "11+41+*", "11+14+*", "11+41+*", "14+11+*", "14+11+*", "41+11+*", "41+11+*", "41+11+*", "41+11+*", "41+11+*", "41+11+*"] | |
"1115 : there are 168 answers" | |
["11+1*5*", "11+1/5*", "11+15**", "11+15//", "11+5*1*", "11+5*1/", "11+51**", "11+51/*", "11*1+5*", "11/1+5*", "111+*5*", "111+5**", "111*+5*", "111/+5*", "11+1*5*", "11+1/5*", "11+15**", "11+15//", "11+5*1*", "11+5*1/", "11+51**", "11+51/*", "11*1+5*", "11/1+5*", "111+*5*", "111+5**", "111*+5*", "111/+5*", "15*11+*", "15*11+*", "1511+**", "1511+**", "11+1*5*", "11+1/5*", "11+15**", "11+15//", "11+5*1*", "11+5*1/", "11+51**", "11+51/*", "11*1+5*", "11/1+5*", "111+*5*", "111+5**", "111*+5*", "111/+5*", "11+1*5*", "11+1/5*", "11+15**", "11+15//", "11+5*1*", "11+5*1/", "11+51**", "11+51/*", "11*1+5 |