https://www.acmicpc.net/problem/2828문제풀이import java.util.*;public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int m = sc.nextInt(); int t = sc.nextInt(); int move = 0; int left = 0; int right = 0 + (m - 1); for(int i = 0; i right) { move += tmp - right; right = tmp; left = tmp - (m - ..