CCC '04 J1 - Squares
Source Code
import java.io.*;
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
int a = (int)Math.sqrt(in.nextInt());
System.out.println("The largest square has side length " + a + ".");
}
}