- Code: Select all
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
int[] x = new int[4];
int[] y = new int[4];
Scanner sc = new Scanner(System.in);
int entries = sc.nextInt();
for (int i=0; i<entries; i++) {
for (int c=0; c<4; c++) {
x[c] = sc.nextInt();
y[c] = sc.nextInt();
}
System.out.println("Case 1: Rectangle");
}
}
}
The problem I am trying is from the latest contest volume, "11800 - Determine the Shape".
