Fortune Telling
— antontrygubO_o
Your friends Alice and Bob practice fortune telling.
Fortune telling is performed as follows. There is a well-known array aa of nn non-negative integers indexed from 11 to nn. The tellee starts with some non-negative number dd and performs one of the two operations for each i=1,2,…,ni=1,2,…,n, in the increasing order of ii. The possible operations are:
replace their current number dd with d+aid+aireplace their current number dd with d⊕aid⊕ai (hereinafter
共有 0 条评论