Example Input 6 2 3 1 1 4 2 Output Yes Yes Yes No Yes No
- User
Example Input
6 2 3 1 1 4 2
Output
Yes Yes Yes No Yes No
Assistant
python# Read the number of test cases T = int(input()) for _ in range(T): n = int(input()) # Check if n is a power of two if n > 0 and (n & (n - 1)) == 0: print("Yes") else: print("No")
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.