반응형
문제 설명
https://www.acmicpc.net/problem/1271
제출한 코드
from sys import stdin
a, b = map(int, stdin.readline().split())
print(a//b)
print(a%b)
결과
후기
반응형
'BQJ 백준 > python' 카테고리의 다른 글
[Python/파이썬] 백준 1330번: 두 수 비교하기 (0) | 2024.06.12 |
---|---|
[Python/파이썬] 백준 1316번: 그룹 단어 체커 (0) | 2024.06.11 |
[Python/파이썬] 백준 1267번: 핸드폰 요금 (0) | 2024.06.09 |
[Python/파이썬] 백준 1264번: 모음의 개수 (0) | 2024.06.09 |
[Python/파이썬] 백준 1259번: 팰린드롬수 (0) | 2024.06.09 |