brainfuck, (削除) 109 (削除ここまで) 100 bytes
Edit: don’t have to handle one letter words
,[>++++[-<-------->],]>+[-<[>++++[<++++++++>-]<[->>+<<]<]<<[->>+<<]>[[-<+>]>]<<[>+>+>]-<]>>>>>>>[.>]
Prints a trailing space
###How It Works
How It Works
,[>++++[-<-------->],] Puts input on the tape and subtracts 32 from each character
This separates each word
>+[- Start the loop
<[>++++[<++++++++>-]<[->>+<<]<] Add 32 to each letter of the word
Skip this on the first iteration for the last word
<<[->>+<<]>[[-<+>]>] Swaps the last two letters of the word
<<[>+>+>]- If there is another word to the left continue loop
Also set up to add a space to the end of the word
<] End loop
>>>>>>>[.>] Print the modified string
Previous version, 109 bytes
,[>++++[-<-------->],]>+[-<[>++++[<++++++++>-]<[->>+<<]<]<<[[->>+<<]>[[-<+>]>]<<[<]]>[>]<[>+>+>]-<]>>>>>>[.>]
brainfuck, (削除) 109 (削除ここまで) 100 bytes
Edit: don’t have to handle one letter words
,[>++++[-<-------->],]>+[-<[>++++[<++++++++>-]<[->>+<<]<]<<[->>+<<]>[[-<+>]>]<<[>+>+>]-<]>>>>>>>[.>]
Prints a trailing space
###How It Works
,[>++++[-<-------->],] Puts input on the tape and subtracts 32 from each character
This separates each word
>+[- Start the loop
<[>++++[<++++++++>-]<[->>+<<]<] Add 32 to each letter of the word
Skip this on the first iteration for the last word
<<[->>+<<]>[[-<+>]>] Swaps the last two letters of the word
<<[>+>+>]- If there is another word to the left continue loop
Also set up to add a space to the end of the word
<] End loop
>>>>>>>[.>] Print the modified string
Previous version, 109 bytes
,[>++++[-<-------->],]>+[-<[>++++[<++++++++>-]<[->>+<<]<]<<[[->>+<<]>[[-<+>]>]<<[<]]>[>]<[>+>+>]-<]>>>>>>[.>]
brainfuck, (削除) 109 (削除ここまで) 100 bytes
Edit: don’t have to handle one letter words
,[>++++[-<-------->],]>+[-<[>++++[<++++++++>-]<[->>+<<]<]<<[->>+<<]>[[-<+>]>]<<[>+>+>]-<]>>>>>>>[.>]
Prints a trailing space
How It Works
,[>++++[-<-------->],] Puts input on the tape and subtracts 32 from each character
This separates each word
>+[- Start the loop
<[>++++[<++++++++>-]<[->>+<<]<] Add 32 to each letter of the word
Skip this on the first iteration for the last word
<<[->>+<<]>[[-<+>]>] Swaps the last two letters of the word
<<[>+>+>]- If there is another word to the left continue loop
Also set up to add a space to the end of the word
<] End loop
>>>>>>>[.>] Print the modified string
Previous version, 109 bytes
,[>++++[-<-------->],]>+[-<[>++++[<++++++++>-]<[->>+<<]<]<<[[->>+<<]>[[-<+>]>]<<[<]]>[>]<[>+>+>]-<]>>>>>>[.>]
brainfuck, (削除) 109 (削除ここまで) 100 bytes
Edit: don’t have to handle one letter words
,[>++++[-<-------->],]>+[-<[>++++[<++++++++>-]<[->>+<<]<]<<[->>+<<]>[[-<+>]>]<<[>+>+>]-<]>>>>>>>[.>]
Prints a trailing space
###How It Works
,[>++++[-<-------->],] Puts input on the tape and subtracts 32 from each character
This separates each word
>+[- Start the loop
<[>++++[<++++++++>-]<[->>+<<]<] Add 32 to each letter of the word
Skip this on the first iteration for the last word
<<[->>+<<]>[[-<+>]>] Swaps the last two letters of the word
<<[>+>+>]- If there is another word to the left continue loop
Also set up to add a space to the end of the word
<] End loop
>>>>>>>[.>] Print the modified string
Previous version, 109 bytes
,[>++++[-<-------->],]>+[-<[>++++[<++++++++>-]<[->>+<<]<]<<[[->>+<<]>[[-<+>]>]<<[<]]>[>]<[>+>+>]-<]>>>>>>[.>]
brainfuck, (削除) 109 (削除ここまで) 100 bytes
Edit: don’t have to handle one letter words
,[>++++[-<-------->],]>+[-<[>++++[<++++++++>-]<[->>+<<]<]<<[->>+<<]>[[-<+>]>]<<[>+>+>]-<]>>>>>>>[.>]
Previous version, 109 bytes
,[>++++[-<-------->],]>+[-<[>++++[<++++++++>-]<[->>+<<]<]<<[[->>+<<]>[[-<+>]>]<<[<]]>[>]<[>+>+>]-<]>>>>>>[.>]
brainfuck, (削除) 109 (削除ここまで) 100 bytes
Edit: don’t have to handle one letter words
,[>++++[-<-------->],]>+[-<[>++++[<++++++++>-]<[->>+<<]<]<<[->>+<<]>[[-<+>]>]<<[>+>+>]-<]>>>>>>>[.>]
Prints a trailing space
###How It Works
,[>++++[-<-------->],] Puts input on the tape and subtracts 32 from each character
This separates each word
>+[- Start the loop
<[>++++[<++++++++>-]<[->>+<<]<] Add 32 to each letter of the word
Skip this on the first iteration for the last word
<<[->>+<<]>[[-<+>]>] Swaps the last two letters of the word
<<[>+>+>]- If there is another word to the left continue loop
Also set up to add a space to the end of the word
<] End loop
>>>>>>>[.>] Print the modified string
Previous version, 109 bytes
,[>++++[-<-------->],]>+[-<[>++++[<++++++++>-]<[->>+<<]<]<<[[->>+<<]>[[-<+>]>]<<[<]]>[>]<[>+>+>]-<]>>>>>>[.>]
brainfuck, 109(削除) 109 (削除ここまで) 100 bytes
Edit: don’t have to handle one letter words
,[>++++[-<-------->],]>+[-<[>++++[<++++++++>-]<[->>+<<]<]<<[->>+<<]>[[-<+>]>]<<[>+>+>]-<]>>>>>>>[.>]
Previous version, 109 bytes
,[>++++[-<-------->],]>+[-<[>++++[<++++++++>-]<[->>+<<]<]<<[[->>+<<]>[[-<+>]>]<<[<]]>[>]<[>+>+>]-<]>>>>>>[.>]
brainfuck, 109 bytes
,[>++++[-<-------->],]>+[-<[>++++[<++++++++>-]<[->>+<<]<]<<[[->>+<<]>[[-<+>]>]<<[<]]>[>]<[>+>+>]-<]>>>>>>[.>]
brainfuck, (削除) 109 (削除ここまで) 100 bytes
Edit: don’t have to handle one letter words
,[>++++[-<-------->],]>+[-<[>++++[<++++++++>-]<[->>+<<]<]<<[->>+<<]>[[-<+>]>]<<[>+>+>]-<]>>>>>>>[.>]
Previous version, 109 bytes
,[>++++[-<-------->],]>+[-<[>++++[<++++++++>-]<[->>+<<]<]<<[[->>+<<]>[[-<+>]>]<<[<]]>[>]<[>+>+>]-<]>>>>>>[.>]