Skip to main content
We’ve updated our Terms of Service. A new AI Addendum clarifies how Stack Overflow utilizes AI interactions.
Code Golf

Return to Answer

edited body
Source Link

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-.~&><

Try it online!

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-.~&><

Try it online!

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-.~&><

Try it online!

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?
deleted 89 characters in body
Source Link
xash
  • 11.3k
  • 1
  • 15
  • 39

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(]-:-.~)&><~&><

Try it online! Try it online!

[:+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(]-:-.~)&><

Try it online!

[:+./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-.~&><

Try it online!

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?
added 365 characters in body
Source Link
xash
  • 11.3k
  • 1
  • 15
  • 39

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(]-:-.~)&><

Try it online! Try it online!

[:+./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(]-:-.~)&><

Try it online!

[:+./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(]-:-.~)&><

Try it online!

[:+./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
added 365 characters in body
Source Link
xash
  • 11.3k
  • 1
  • 15
  • 39
Loading
Source Link
xash
  • 11.3k
  • 1
  • 15
  • 39
Loading

AltStyle によって変換されたページ (->オリジナル) /