![]() Well I had to, didn't I? Even if MIPS is a terrible golfing language as far as assembly languages go, due to every single instruction being 4 bytes ( wasting instruction encoding bits) and requiring unintuitive instruction re-ordering to not waste branch delay slots. Note that this takes O(n²) time, which makes the test cases take up to 25 seconds each on TIO, so I've also written a Retina 1 port but using fast binary to decimal conversion: Try it online! Link includes test cases. (Destructively) XOR all of the values together. ![]() ![]() In math notation, where \$\oplus\$ is bitwise XOR and \$x_L\$ is \$x\$ mod 256: If(s0
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |