문제 링크입니다: www.acmicpc.net/problem/6749
6749번: Next in line
You know a family with three children. Their ages form an arithmetic sequence: the difference in ages between the middle child and youngest child is the same as the difference in ages between the oldest child and the middle child. For example, their ages c
www.acmicpc.net
간단한 수학 문제였습니다.
개발환경:Visual Studio 2017
지적, 조언, 질문 환영입니다! 댓글 남겨주세요~
반응형
'알고리즘 > BOJ' 카테고리의 다른 글
BOJ 10757번 큰 수 A+B (0) | 2021.03.06 |
---|---|
백준 8437번 Julka (C++) (1) | 2021.03.06 |
[JOI 예선] 백준 5554번 심부름 가는 길 (0) | 2021.03.06 |
백준 5522번 카드 게임 (0) | 2021.03.06 |
백준 3046번 R2 (0) | 2021.03.06 |