RosettaCodeData/Task/Find-the-missing-permutation/XPL0/find-the-missing-permutatio...

7 lines
102 B
Plaintext

code HexIn=26, HexOut=27;
int P, I;
[P:= 0;
for I:= 1 to 24-1 do P:= P xor HexIn(1);
HexOut(0, P);
]