whats the possible test case that would cause run time error
Runtime error and wrong test case
long n = s.nextInt();
use s.nextLong(); instead 
whats the possible test case that would cause run time error
long n = s.nextInt();
use s.nextLong(); instead 