6 questions
The questions are as follows!There is an ice mold of N×M size. The part with the hole is marked as 0 and the part with the partition is marked as 1.If the perforated parts are attached up, down, left,...
def solution(nums): answer = 0 l = int(len(nums) / 2) nums_set = len(set(nums)) if l < nums_set: answer = l elif l > nums_set: answer = nums_set else: answer = l return answerThis is Phonke...
def solution(sizes): answer = 0 # The smallest of the horizontal gyrings, the smallest of the verticals, # When you change the horizontal and vertical, if the value is less than the max of the changed...
def solution(n): answer = [] # First, pull out all the mineral water, and then leave only the few of the mineral water. for i in range(2,n+1): if n%i == 0: answer.append(i) for i in answer: cnt = 0...
I heard that companies are introducing a lot of coding tests these days.In an environment where tests are performed, whether online or offline, I wonder how the package (library) is limited.For exampl...
Hello, everyoneBaekjun KOI Elementary School 14696 When it's a draw, I want to print out the result of D, but I think it's because of return, so how can I pick the result of the draw? And I think my m...
© 2025 OneMinuteCode. All rights reserved.