1. 立方和 hashmap = {i**3 for i in range(1, 1000)} for _ in range(int(input())): number = int(input()) for i in range(1, number): remain = number - i ** 3 if remain < 0: print('No') break elif remain in hashmap: print('Yes') ...