python-algorithm
백준 31450 Everyone is a winner
무적김두칠
2024. 3. 31. 19:45
https://www.acmicpc.net/problem/31450
31450번: Everyone is a winner
Your friend is a kindergarten teacher. Since the Olympic Games in Paris are approaching, he wants to teach the kids about different aspects of sports competitions. As part of this idea, he plans to have one day when kids receive medals for their behaviour
www.acmicpc.net
1 2 3 4 5 6 7 8 9 10 11 | def sol(m, k): if m % k == 0: return "Yes" else: return "No" if __name__ == '__main__': m, k = map(int, input().split()) print(sol(m, k)) | cs |
반응형