3
等于长度的表达式
给定一个数字,找到一个等于该数字且长度等于该数字的表达式。 因此,对于的输入15,您可能会输出sixteen minus one,其中包含15个字符(不计算空格)。如果存在多个解决方案,请打印所需的任何内容。如果不存在,请打印impossible 只使用运营商plus,minus,times,和divided by。从左到右评估操作员。 将1234格式化为one thousand two hundred thirty four。请注意缺少“和”,并且没有破折号或逗号。 输入和输出中使用的所有数字必须是小于10,000的正整数。 输入将作为命令行参数给出。打印到标准输出。 例子 1: impossible 4: four 7: impossible 13: eight plus five (you could also output "five plus eight") 18: one plus two times six (note that operators are evaluated from left to right) 25: one thousand …