Jul 12, 2024
T
X
(goals by team A) and Y
(goals by team B)X
to X+2
Y
to Y+1
X = Y
X = Y + 1
X + 1 = Y
X + 1 = Y + 1
X + 2 = Y
X + 2 = Y + 1
T
X
representing the number of slicesX - nearest power of 2 less than or equal X * 2
2^x - 1
T
n
(size of array) followed by array elements2^x - 1
(all bits are 1)2^x - 1
Y
with specific properties
Y
is not primeY
is not a perfect squareY
other than 1
are greater than or equal to X
T
X
Y
for each caseY
by finding prime numbers around X
X
meets the conditionsX