cops的任务是编写一个函数或程序,当给定输入本身时,输出一个有限的确定性字符串。如果程序得到不同的输入,它应该返回不同的输出。
- Byte count of program
- Byte count of output
- Output
- If it is particularly long, please provide a pastebin or something similar
- If it contains unprintables, please provide a hexdump.
- Trailing newlines and whitespace should be included in the output- Where the input is coming from (STDIN, command line, [etc.](https://codegolf.meta.stackexchange.com/q/2447/76162))劫匪的任务是找到一个大小等于或小于原版的程序,这也符合上述规则。
如果抢劫犯用不同的解决方案破解了你的程序,那么你就有机会通过证明抢劫犯的解决方案是错误的来“破解”它。您可以通过为强盗的程序找到一个输入来实现这一点,该输入将产生相同的输出。
]<.[<],>[,这个解决方案是,[> ]<[.<],它简单地反转输入
祝好运!
发布于 2018-11-06 16:07:19
发布于 2019-11-26 22:04:01
输入和输出从/到stdin/-out。输出对于每一个不同的输入都是不同的。给定源代码时的唯一输出:
218216195196222130136136132192197195196130241204136209197216206130201131244155157154215136138204197216138201138195196138195196218223222130131247131131( 150位数)
祝好运!
发布于 2018-11-06 10:02:04
https://codegolf.stackexchange.com/questions/175365
复制相似问题