Created
December 28, 2014 22:03
-
-
Save StarOrpheus/3fa78e0823a0012fc392 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.io.File; | |
import java.io.FileNotFoundException; | |
import java.io.PrintWriter; | |
import java.math.BigInteger; | |
import java.util.Scanner; | |
class Main{ | |
public static void main(String argv[]) throws FileNotFoundException { | |
Scanner sc; | |
PrintWriter pw = null; | |
sc = new Scanner(new File("input.txt")); | |
pw = new PrintWriter(new File("output.txt")); | |
/*sc = new Scanner(System.in); | |
pw = new PrintWriter(System.out);*/ | |
BigInteger a, b, rc; | |
a = sc.nextBigInteger(); | |
b = sc.nextBigInteger(); | |
rc = sc.nextBigInteger(); | |
pw.println(a.max(b.max(rc))); | |
sc.close(); | |
pw.close(); | |
} | |
Main(){} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment