
1244. 최대 상금
2022. 11. 16. 23:49
알고리즘(종합)/Lv.3
package test; import java.io.IOException; import java.util.Scanner; public class Solution { public static void main(String[] args) throws IOException { Scanner sc = new Scanner(System.in); int test = sc.nextInt(); for (int k = 0; k < test; k++) { String value = sc.next(); int change = sc.nextInt(); int size=value.length(); int array[] = new int[size]; StringBuilder sb = new StringBuilder(); int ..