[SWEA][D1] 1936. 1대1 가위바위보 Java
·
알고리즘 문제풀이
import java.util.Scanner;import java.io.FileInputStream;class Solution{ public static void main(String args[]) throws Exception { Scanner sc = new Scanner(System.in); int AValue; int BValue; AValue = sc.nextInt() - 2 ; BValue = sc.nextInt() - 2; if( AValue + BValue == 0 ){ if(AValue > BValue){ System.out.print("B"); }else ..