Inspirado en github.com/JackToaster/Reassuring-Parable-Generator , inspirado a su vez en xkcd.com/1263 . Las posibles palabras se derivan del reassuring.cfg de ese repositorio.
Se recomienda echar un vistazo a reassuring.cfg (use el 12º commit) para ver la gramática que coincide con la salida (La salida es una lista de todas las cadenas que coinciden con la gramática).
Tarea: Su programa debe mostrar todas las 7968 líneas que distinguen entre mayúsculas y minúsculas del texto exacto contenido en pastebin pastebin.com/2SNAJ1VH . Se guarda una copia del pastebin en Wayback Machine
Aquí hay una muestra de 33 líneas motivadoras del pastebin:
Computers can't enjoy a salad.
Computers can't enjoy a cake.
Computers can't enjoy a ice cream cone.
Computers can't enjoy a meal.
Computers can't enjoy a drink.
Computers can't enjoy a steak.
Computers can't enjoy a chicken dinner.
Computers can't enjoy a piece of cake.
Computers can't enjoy a piece of pie.
Computers can't enjoy a cookie.
Computers can't enjoy a sandwich.
Computers can't taste a salad.
Computers can't taste a cake.
Computers can't taste a ice cream cone.
Computers can't taste a meal.
Computers can't taste a drink.
Computers can't taste a steak.
Computers can't taste a chicken dinner.
Computers can't taste a piece of cake.
Computers can't taste a piece of pie.
Computers can't taste a cookie.
Computers can't taste a sandwich.
Computers can't experience eating a salad.
Computers can't experience eating a cake.
Computers can't experience eating a ice cream cone.
Computers can't experience eating a meal.
Computers can't experience eating a drink.
Computers can't experience eating a steak.
Computers can't experience eating a chicken dinner.
Computers can't experience eating a piece of cake.
Computers can't experience eating a piece of pie.
Computers can't experience eating a cookie.
Computers can't experience eating a sandwich.
Reglas de desafío:
- La salida de las líneas se puede ordenar de la forma que desee, pero todas las 7968 deben estar incluidas.
- La salida debe ser como una sola cadena plana, no como una lista de cadenas.
- Su programa no debe aceptar ninguna entrada o una entrada vacía sin usar.
- Es posible que su programa no obtenga datos de ninguna fuente en línea.
- Una nueva línea final es opcional.
Este es el código de golf , por lo que gana el código más corto.
No computer {can} {action}.
se repite dos veces y Computers {cannot_present}
produce frases como "Las computadoras son incapaces de". ¿Intencional?