개발/알고리즘
[USACO] Mad Scientist JAVA
문제 www.acmicpc.net/problem/18787 18787번: Mad Scientist First, FJ can transform the substring that corresponds to the first character alone, transforming $B$ into GHGGGHH. Next, he can transform the substring consisting of the third and fourth characters, giving $A$. Of course, there are other combinations of t www.acmicpc.net 코드 import java.util.Scanner; public class Main { // USACO Mad Scientis..
2021. 2. 23. 00:00
최근댓글