https://www.acmicpc.net/problem/31450
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 |
반응형
'python-algorithm' 카테고리의 다른 글
백준 31614 分 (Minutes) (0) | 2024.04.15 |
---|---|
백준 31654 Adding Trouble (0) | 2024.04.15 |
백준 31429 SUAPC 2023 Summer (0) | 2024.02.26 |
leetcode 3038. Maximum Number of Operations With the Same Score I (0) | 2024.02.18 |
leetcode 1941. Check if All Characters Have Equal Number of Occurrences (0) | 2024.02.17 |
댓글