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

7 lines
102 B
Text
Raw Permalink Normal View History

2013-04-10 22:43:41 -07: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);
]