삐까냥의 파도타기
문제 출처 : https://www.acmicpc.net/problem/9933 import java.util.HashSet;import java.util.Scanner; public class Q9933 { public static void main(String[] args) {Scanner sc = new Scanner(System.in);int num = sc.nextInt();HashSet list = new HashSet();for ( int i = 0; i < num; i++ ) {String temp = sc.next();String reverse = new StringBuffer(temp).reverse().toString();if ( list.contains(reverse) || temp..
문제 출처 : https://www.acmicpc.net/problem/9935import java.util.Scanner; public class Q9935 { static char[] chars;static String boom;public static void main(String[] args) {Scanner sc = new Scanner(System.in);String string = sc.nextLine();boom = sc.nextLine();chars = new char[string.length()];char lastChar = boom.charAt(boom.length()-1);int nowPoint = 0;for ( int i = 0; i < string.length(); i++ ) {..