백준 #19944번 뉴비의 기준은 뭘까?

jhj·2024년 2월 13일

백준 JAVA

목록 보기
265/583
import java.util.Scanner;
public class Main {
	public static void main(String[] args) {
		
		Scanner sc = new Scanner(System.in);
		
		int n = sc.nextInt();
		int m = sc.nextInt();
		
		if(m == 1 || m == 2) {
			System.out.println("NEWBIE!");
		}else if(n >= m) {
			System.out.println("OLDBIE!");
		}else {
			System.out.println("TLE!");
		}
		sc.close();
	}
}
profile
개발자를 꿈꾸는

0개의 댓글