RithwikG's picture
initial commit
7a8878c
raw
history blame contribute delete
262 Bytes
You are given a sequence of n integers a1,a2,…,an.Does there exist a sequence of n integers b1,b2,…,bn such that the following property holds? For each 1≤i≤n, there exist two (not necessarily distinct) indices j and k (1j,k≤n) such that ai=bj−bk.