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

7 lines
102 B
Text
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
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);
]