mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-08 14:18:03 +00:00
10 lines
241 B
Text
10 lines
241 B
Text
{
|
|
Dijkstra's odd words Problem
|
|
You'll need to enter a sentence in the Input box, ending with a period. Odd words are reversed.
|
|
}
|
|
|
|
[[$' =][%^]#]b:
|
|
[$$'.=\' =|~]w:
|
|
[$'.=~[' ,]?]s:
|
|
[w;![^o;!\,]?]o:
|
|
^b;![$'.=~][w;[,^]#b;!s;!o;!b;!s;!]#,
|