Post History
brainfuck, 40 bytes Outputs ÿ if all elements are equal, and \x00 byte otherwise. ->,>,[[-<->>+<]<[-<[-]>]>>[-<<+>>]<,]<<. Try it online! ...
Answer
#1: Initial revision
# [brainfuck], 40 bytes Outputs `ÿ` if all elements are equal, and `\x00` byte otherwise. ->,>,[[-<->>+<]<[-<[-]>]>>[-<<+>>]<,]<<. [Try it online!][TIO-ks7v2r5u] [brainfuck]: https://github.com/TryItOnline/brainfuck [TIO-ks7v2r5u]: https://tio.run/##SypKzMxLK03O/v9f107HTic6WtdG185O2ybWBsiK1o21i7WzA7JstO3sYm10Ym1s9P7/NwUCAA "brainfuck – Try It Online" ## [brainfuck], 41 bytes Different approach. Output is opposite. ,[<+<,]>>[<[>->]<<[<<]>>>]<[>[[-]-.+<-]>] [Try it online!][TIO-ks7vj3bs] [brainfuck]: https://github.com/TryItOnline/brainfuck [TIO-ks7vj3bs]: https://tio.run/##SypKzMxLK03O/v9fJ9pG20Yn1s4u2ibaTtcu1sYm2sYGyAWyou2io3VjdfW0bXRj7WL//zcFAnMA "brainfuck – Try It Online"