B. Valerii Against Everyone
time limit per test1 secondmemory limit per test256 megabytesYoure given an array b of length n. Lets define another array a, also of length n, for which ai2bi (1≤i≤n).Valerii says that every two non-intersecting subarrays of a have different sums of ele…
2026/9/28 21:16:41