문제 링크입니다: https://www.acmicpc.net/problem/4922
4922번: Walk Like an Egyptian
Walk Like an Egyptian is an old multi-player board game played by children of the Sahara nomad tribes. Back in the old days, children would collect stones, and number each one of them. A game with N players requires N2 stones. Each player chooses N stones.
www.acmicpc.net
간단한 수학 문제였습니다.
개발환경:Visual Studio 2017
지적, 조언, 질문 환영입니다! 댓글 남겨주세요~
반응형
'알고리즘 > BOJ' 카테고리의 다른 글
백준 5063번 TGN (0) | 2021.05.17 |
---|---|
백준 5043번 정말 좋은 압축 (2) | 2021.05.17 |
백준 4909번 Judging Olympia (0) | 2021.05.16 |
백준 4892번 숫자 맞추기 게임 (0) | 2021.05.16 |
백준 4890번 Tiles of Tetris, NOT! (0) | 2021.05.16 |