Go to diff to previous submission
import java.util.LinkedList; import java.util.List; import java.util.Scanner; /** * * @author student */ public class Main { /** * @param args the command line arguments */ List<Integer> result = new LinkedList<Integer>(); int pom, m, p, l, e, r, s, n; while (!"".equals(res)) { for (int i = 0; i < n; i++) { pom = m; l = pom * e; } res = sc.nextLine(); result.add(m); } } } }