J, 19 bytes
Takes input as six four. As the input range is limited, I just deleted characters while the output stayed the same. :-) Reads like "if there is no e in the input, or if there are no t and o in the input, ... then we can spell another number."
e.e`to`for`si-.~&><
e.e`to`for`si-.~&><
&>< boxing stuff
e`to`for`si for each e, to, for, si:
-.~ delete from the input any character from the list
e. is the input still in the results, i.e. is there any
case were no character got deleted?
J, 19 bytes
Takes input as six four. As the input range is limited, I just deleted characters while the output stayed the same. :-) Reads like "if there is no e in the input, or if there are no t and o in the input, ... then we can spell another number."
e.e`to`for`si-.~&><
e.e`to`for`si-.~&><
&>< boxing stuff
for each e, to, for, si:
-.~ delete from the input any character from the list
e. is the input still in the results, i.e. is there any
case were no character got deleted?
J, 19 bytes
Takes input as six four. As the input range is limited, I just deleted characters while the output stayed the same. :-) Reads like "if there is no e in the input, or if there are no t and o in the input, ... then we can spell another number."
e.e`to`for`si-.~&><
e.e`to`for`si-.~&><
&>< boxing stuff
e`to`for`si for each e, to, for, si:
-.~ delete from the input any character from the list
e. is the input still in the results, i.e. is there any
case were no character got deleted?
J, 2719 bytes
Takes input as six four. As the input range is limited, I just deleted characters while the output stayed the same. :-) Reads like "if there is no e in the input, or if there are no t and o in the input, ... then we can spell another number."
[:+e./e`to`for`si(]-:-.~)&><~&><
[:+e./e`to`for`si(]-:-.~)&><~&><
&>< boxing stuff
for each e, to, for, si:
( -.~) delete from the input any character from the list
e. ]-: is the input still in the results, stilli.e. equalis tothere theany input?
[:+./ case orwere theno resultscharacter got deleted?
J, 27 bytes
Takes input as six four. As the input range is limited, I just deleted characters while the output stayed the same. :-) Reads like "if there is no e in the input, or if there are no t and o in the input, ... then we can spell another number."
[:+./e`to`for`si(]-:-.~)&><
[:+./e`to`for`si(]-:-.~)&><
&>< boxing stuff
for each e, to, for, si:
( -.~) delete from the input any character from the list
]-: still equal to the input?
[:+./ or the results
J, 19 bytes
Takes input as six four. As the input range is limited, I just deleted characters while the output stayed the same. :-) Reads like "if there is no e in the input, or if there are no t and o in the input, ... then we can spell another number."
e.e`to`for`si-.~&><
e.e`to`for`si-.~&><
&>< boxing stuff
for each e, to, for, si:
-.~ delete from the input any character from the list
e. is the input still in the results, i.e. is there any
case were no character got deleted?
J, 3327 bytes
Takes input as six four. As the input range is limited, I just deleted characters while the output stayed the same. :-) Reads like "if there is no e in the input, or if there are no t and o in the input, ... then we can spell another number."
[:+./e`to`for`iv`si`nie`to`for`si(]-:-.~)&><
[:+./e`to`for`iv`si`nie`to`for`si(]-:-.~)&><
&>< boxing stuff
for each e, to, ...for, si:
( -.~) delete from the input e, to, ...
any character from the list
]-: still equal to the input?
[:+./ or the listresults
J, 33 bytes
Takes input as six four. As the input range is limited, I just deleted characters while the output stayed the same. :-) Reads like "if there is no e in the input, or if there are no t and o in the input, ... then we can spell another number."
[:+./e`to`for`iv`si`ni(]-:-.~)&><
[:+./e`to`for`iv`si`ni(]-:-.~)&><
&>< boxing stuff
for each e, to, ...:
( -.~) delete from the input e, to, ...
]-: equal to the input?
[:+./ or the list
J, 27 bytes
Takes input as six four. As the input range is limited, I just deleted characters while the output stayed the same. :-) Reads like "if there is no e in the input, or if there are no t and o in the input, ... then we can spell another number."
[:+./e`to`for`si(]-:-.~)&><
[:+./e`to`for`si(]-:-.~)&><
&>< boxing stuff
for each e, to, for, si:
( -.~) delete from the input any character from the list
]-: still equal to the input?
[:+./ or the results