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