문제 코드import java.io.BufferedReader;import java.io.IOException;import java.io.InputStreamReader;import java.util.Arrays;import java.util.StringTokenizer; public class Solution { static int N, X, M; static int[] arr, answer; static int[][] memo; static int max_sum; public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStr..