Click Here to go back to the homepage.

Travelling Salesperson 2D Solution:


import java.util.Scanner;
import java.util.stream.IntStream;

public class Kattis {
  public static void main(String[] args) {
    IntStream.range(0, new Scanner(System.in).nextInt()).forEach(System.out::println);
  }
}