Java for loop type long not supported [duplicate]
问题 This question already has answers here : The literal xyz of type int is out of range (5 answers) Closed 5 years ago . I was trying to do some Project Euler question which involves pandigital numbers with special divisibility requirements of the first 5 prime numbers, and thought that this would be the starting point (see, 1023456789 is the first number being looked at, and 9876543210 is the last one). import java.util.*; public class pandigital_special { public static void main (String args[]