https://www.acmicpc.net/problem/9613
9613번: GCD 합
첫째 줄에 테스트 케이스의 개수 t (1 ≤ t ≤ 100)이 주어진다. 각 테스트 케이스는 한 줄로 이루어져 있다. 각 테스트 케이스는 수의 개수 n (1 < n ≤ 100)가 주어지고, 다음에는 n개의 수가 주어진
www.acmicpc.net
이번 문제도 비슷한 문제다
https://github.com/chuljin100/GolangAcmicpc/tree/master/src/codePlus/math/math_9613
GitHub - chuljin100/GolangAcmicpc
Contribute to chuljin100/GolangAcmicpc development by creating an account on GitHub.
github.com
'DEV > 알고리즘 기초' 카테고리의 다른 글
[GO] 백준 6588번 골드바흐의 추측 (0) | 2021.11.10 |
---|---|
[GO] 백준 1978 소수 찾기 (0) | 2021.10.20 |
[GO] 백준 1934 (0) | 2021.10.19 |
[GO] 백준 2609번 (0) | 2021.10.19 |
[GO] 백준 10430 (0) | 2021.10.19 |