PS/Baekjoon Online Judge
[백준 17863] FYI [Python]
kimyoungrok
2023. 4. 30. 01:36
728x90
풀이
입력받은 전화번호의 prefix number가 555이면 "YES"를, 아니면 "NO"를 출력하면 되는 문제이다.
소스코드
출처
17863번: FYI
In the United States of America, telephone numbers within an area code consist of 7 digits: the prefix number is the first 3 digits and the line number is the last 4 digits. Traditionally, the 555 prefix number has been used to provide directory informatio
www.acmicpc.net
728x90