-
[java]백준 돌 게임 2 9656번알고리즘 문제풀이/백준(자바) 2023. 4. 23. 22:06
코드
import java.util.Scanner; public class BOJ_9656 { public static void main(String[] args) { Scanner in = new Scanner(System.in); int s = in.nextInt(); if(s%2==0){ System.out.println("SK"); }else{ System.out.println("CY"); } in.close(); } }
링크
https://www.acmicpc.net/problem/9656
'알고리즘 문제풀이 > 백준(자바)' 카테고리의 다른 글
[java]백준 평균 점수 10039번 (0) 2023.04.25 [java]백준 설탕 배달 2839번 (0) 2023.04.24 [java]백준 돌 게임 9655번 (0) 2023.04.23 [java]백준 크냐? 4101번 (0) 2023.04.22 [java]백준 오늘의 날짜는? 16170번 (0) 2023.04.22