/* ID: iamnotnad1 PROG: explore LANG: JAVA */ import java.util.Scanner; import java.io.*; class Explore { public static void main(String[] args) throws FileNotFoundException { Scanner sc=new Scanner(System.in); System.out.print("Enter the total number of landmarks followed by the available time: "); int landmarks=sc.nextInt(), time=sc.nextInt(); System.out.println("Enter where each landmark is: "); int[] pos=new int[landmarks]; for(int k=0;kneg&&time-positive