Post History
Japt v2.0a0, 19 18 17 bytes I need more caffeine! Takes input as an array of lines. Output is a reversed array. [Uc¸¬U¬Ucq\s f]ml Try it - includes all test cases, header splits string on new...
Answer
#6: Post edited
- # [Japt](https://github.com/ETHproductions/japt) v2.0a0, <s>19</s> <s>18</s> 17 [bytes](https://en.wikipedia.org/wiki/ISO/IEC_8859-1)
- I need more caffeine!
- Takes input as an array of lines. Output is a reversed array.
- [Uc¸¬U¬Ucq\s f]ml
[Try it](https://petershaggynoble.github.io/Japt-Interpreter/?v=2.0a0&header=tw&code=W1VjuKxVrFVjcVxzIGZdbWw&footer=Vnc&input=WwoiSGVsbG8gd29ybGQiCiJIM2xsMCAgdzByMWQiCiJIZWxsbyAJCndvcmxkIgoiCgoKIgoiICAgIgpdLW1S) - includes all test cases, header splits string on newlines for ease of input. footer reverse the output for easier verification.
- # [Japt](https://github.com/ETHproductions/japt) v2.0a0, <s>19</s> <s>18</s> 17 [bytes](https://en.wikipedia.org/wiki/ISO/IEC_8859-1)
- I need more caffeine!
- Takes input as an array of lines. Output is a reversed array.
- [Uc¸¬U¬Ucq\s f]ml
- [Try it](https://petershaggynoble.github.io/Japt-Interpreter/?v=2.0a0&header=tw&code=W1VjuKxVrFVjcVxzIGZdbWw&footer=Vnc&input=WwoiSGVsbG8gd29ybGQiCiJIM2xsMCAgdzByMWQiCiJIZWxsbyAJCndvcmxkIgoiCgoKIgoiICAgIgpdLW1S) - includes all test cases, header splits string on newlines for ease of input. footer reverse the output for easier verification.
- [Uc¸¬U¬Ucq\s f]ml :Implicit input of array U
- [ :Construct an array containing
- Uc :1. Map U then flatten
- ¸ : Join with spaces
- ¬ : Join
- U¬ :2. Join U
- Uc :3. Map U then flatten
- q : Split on
- \s : Regex /\s/g
- f : Filter, to remove empty strings
- ] :End array
- m :Map
- l : Length
#5: Post edited
- # [Japt](https://github.com/ETHproductions/japt) v2.0a0, <s>19</s> <s>18</s> 17 [bytes](https://en.wikipedia.org/wiki/ISO/IEC_8859-1)
- I need more caffeine!
- Takes input as an array of lines. Output is a reversed array.
[U·c¸¬U·¬Uq\s f]ml[Try it](https://petershaggynoble.github.io/Japt-Interpreter/?v=2.0a0&code=W1W3Y7isVbesVXFccyBmXW1s&footer=dw&input=WwoiSGVsbG8gd29ybGQiCiJIM2xsMCAgdzByMWQiCiJIZWxsbyAJCndvcmxkIgoiCgoKIgoiICAgIgpdLW1S) - includes all test cases, header splits string on newlines for ease of input. footer reverse the output for easier verification.
- # [Japt](https://github.com/ETHproductions/japt) v2.0a0, <s>19</s> <s>18</s> 17 [bytes](https://en.wikipedia.org/wiki/ISO/IEC_8859-1)
- I need more caffeine!
- Takes input as an array of lines. Output is a reversed array.
- [Uc¸¬U¬Ucq\s f]ml
- [Try it](https://petershaggynoble.github.io/Japt-Interpreter/?v=2.0a0&header=tw&code=W1VjuKxVrFVjcVxzIGZdbWw&footer=Vnc&input=WwoiSGVsbG8gd29ybGQiCiJIM2xsMCAgdzByMWQiCiJIZWxsbyAJCndvcmxkIgoiCgoKIgoiICAgIgpdLW1S) - includes all test cases, header splits string on newlines for ease of input. footer reverse the output for easier verification.
#4: Post edited
# [Japt](https://github.com/ETHproductions/japt) v2.0a0, <s>19</s> 18 [bytes](https://en.wikipedia.org/wiki/ISO/IEC_8859-1)- I need more caffeine!
Output is reversed.- [U·c¸¬U·¬Uq\s f]ml
[Try it](https://petershaggynoble.github.io/Japt-Interpreter/?v=2.0a0&code=W1W3Y7isVbesVXFccyBmXW1s&footer=dw&input=WwoiSGVsbG8gd29ybGQiCiJIM2xsMCAgdzByMWQiCiJIZWxsbyAJCndvcmxkIgoiCgoKIgoiICAgIgpdLW1S) - includes all test cases, footer reverse the output for easier verification.
- # [Japt](https://github.com/ETHproductions/japt) v2.0a0, <s>19</s> <s>18</s> 17 [bytes](https://en.wikipedia.org/wiki/ISO/IEC_8859-1)
- I need more caffeine!
- Takes input as an array of lines. Output is a reversed array.
- [U·c¸¬U·¬Uq\s f]ml
- [Try it](https://petershaggynoble.github.io/Japt-Interpreter/?v=2.0a0&code=W1W3Y7isVbesVXFccyBmXW1s&footer=dw&input=WwoiSGVsbG8gd29ybGQiCiJIM2xsMCAgdzByMWQiCiJIZWxsbyAJCndvcmxkIgoiCgoKIgoiICAgIgpdLW1S) - includes all test cases, header splits string on newlines for ease of input. footer reverse the output for easier verification.
#3: Post edited
- # [Japt](https://github.com/ETHproductions/japt) v2.0a0, <s>19</s> 18 [bytes](https://en.wikipedia.org/wiki/ISO/IEC_8859-1)
- I need more caffeine!
- Output is reversed.
- [U·c¸¬U·¬Uq\s f]ml
[Try it](https://petershaggynoble.github.io/Japt-Interpreter/?v=2.0a0&code=W1W3Y7isVbesVXFccyBmXW1s&footer=dw&input=WwoiSGVsbG8gd29ybGQiCiJIM2xsMCAgdzByMWQiCiJIZWxsbyAJCndvcmxkIgoiCgoKIgoiICAgIgpdLW1R) - includes all test cases, footer reverse the output for easier verification.
- # [Japt](https://github.com/ETHproductions/japt) v2.0a0, <s>19</s> 18 [bytes](https://en.wikipedia.org/wiki/ISO/IEC_8859-1)
- I need more caffeine!
- Output is reversed.
- [U·c¸¬U·¬Uq\s f]ml
- [Try it](https://petershaggynoble.github.io/Japt-Interpreter/?v=2.0a0&code=W1W3Y7isVbesVXFccyBmXW1s&footer=dw&input=WwoiSGVsbG8gd29ybGQiCiJIM2xsMCAgdzByMWQiCiJIZWxsbyAJCndvcmxkIgoiCgoKIgoiICAgIgpdLW1S) - includes all test cases, footer reverse the output for easier verification.
#2: Post edited
# [Japt](https://github.com/ETHproductions/japt) v2.0a0, 19 [bytes](https://en.wikipedia.org/wiki/ISO/IEC_8859-1)- I need more caffeine!
- Output is reversed.
[U·c¸¬ÊU·¬ÊUè/\S+/][Try it](https://petershaggynoble.github.io/Japt-Interpreter/?v=2.0a0&code=W1W3Y7isylW3rMpV6C9cUysvXQ&footer=dw&input=WwoiSGVsbG8gd29ybGQiCiJIM2xsMCAgdzByMWQiCiJIZWxsbyAJCndvcmxkIgoiCgoKIgoiICAgIgpdLW1S) - includes all test cases, footer reverse the output for easier verification.
- # [Japt](https://github.com/ETHproductions/japt) v2.0a0, <s>19</s> 18 [bytes](https://en.wikipedia.org/wiki/ISO/IEC_8859-1)
- I need more caffeine!
- Output is reversed.
- [U·c¸¬U·¬Uq\s f]ml
- [Try it](https://petershaggynoble.github.io/Japt-Interpreter/?v=2.0a0&code=W1W3Y7isVbesVXFccyBmXW1s&footer=dw&input=WwoiSGVsbG8gd29ybGQiCiJIM2xsMCAgdzByMWQiCiJIZWxsbyAJCndvcmxkIgoiCgoKIgoiICAgIgpdLW1R) - includes all test cases, footer reverse the output for easier verification.
#1: Initial revision
# [Japt](https://github.com/ETHproductions/japt) v2.0a0, 19 [bytes](https://en.wikipedia.org/wiki/ISO/IEC_8859-1) I need more caffeine! Output is reversed. [U·c¸¬ÊU·¬ÊUè/\S+/] [Try it](https://petershaggynoble.github.io/Japt-Interpreter/?v=2.0a0&code=W1W3Y7isylW3rMpV6C9cUysvXQ&footer=dw&input=WwoiSGVsbG8gd29ybGQiCiJIM2xsMCAgdzByMWQiCiJIZWxsbyAJCndvcmxkIgoiCgoKIgoiICAgIgpdLW1S) - includes all test cases, footer reverse the output for easier verification.