왕국분열
2026년 12월 1일 09:30분
열왕기상 12장에서 르호보암은 장로들의 조언을 버리고 젊은 신하의 말을 따라 백성을 더 억누르겠다고 답합니다. 북쪽 열 지파는 떠나 여로보암을 왕으로 세우고, 나라는 둘로 갈라집니다. 나는 중앙 권한에 반발하는 세력이 빠져나가 새 체제를 세우는 분할 로직을 구현했습니다.
package com.jesusbornd.kings1;
import java.util.List;
public class Kings1_12_Chapter_Lv2 {
static void divide(String center, List<String> tribes, List<String> stay) {
System.out.println(center + " 중앙 권한 — 조언 무시");
for (String t : tribes) {
if (!stay.contains(t)) {
System.out.println("🚪 " + t + " 이탈 → 새 체제 (여로보암)");
}
}
System.out.println("나라 분열 완료: 유다 " + stay);
}
public static void main(String[] args) {
divide("르호보암",
List.of("르우벤", "시므온", "에브라임", "므낫세", "잇사갈", "스불론", "납달리", "단", "갓", "아셀", "유다", "베냐민"),
List.of("유다", "베냐민"));
}
}
def divide(center: str, tribes: list[str], stay: list[str]):
print(f"{center} 중앙 권한 — 조언 무시")
for t in tribes:
if t not in stay:
print(f"🚪 {t} 이탈 → 새 체제 (여로보암)")
print(f"나라 분열 완료: 유다 {stay}")
divide("르호보암",
["르우벤", "시므온", "에브라임", "므낫세", "잇사갈", "스불론", "납달리", "단", "갓", "아셀", "유다", "베냐민"],
["유다", "베냐민"])
Search
Categories
← 목록으로
Comments
조언을 듣지 않으면 가장 가까운 사람들부터 떠나갑니다.