@@ -0,0 +1,499 @@
+import java.util.*;%0Aimport java.io.*;%0A%0Apublic class Main %7B%0A%09static Scanner in;%0A%09public static void main(String%5B%5D args)%7B%0A%09%09int ans = 0;%0A%09%09for(int i = 100 ; i%3C1000; i++)%7B%0A%09%09%09for(int j = 100; j%3C1000; j++)%7B%0A%09%09%09%09if(isPalin(i*j))%7B%0A%09%09%09%09%09ans = Math.max(ans,i*j);%0A%09%09%09%09%7D%0A%09%09%09%7D%0A%09%09%7DSystem.out.println(ans);%0A%09%7D%0A%0A%09static boolean isPalin(int n)%7B%0A%09%09String str = n + %22%22;%0A%09%09for(int i = 0 ; i%3C=str.length()/2; i++)%7B%0A%09%09%09int j = str.length() -i -1;%0A%09%09%09if(str.charAt(i)!= str.charAt(j)) return false;%0A%09%09%7Dreturn true;%0A%09%7D%0A%7D%0A

Create 4.java