Skip to content

Instantly share code, notes, and snippets.

@StarOrpheus
Created December 28, 2014 22:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save StarOrpheus/3fa78e0823a0012fc392 to your computer and use it in GitHub Desktop.
Save StarOrpheus/3fa78e0823a0012fc392 to your computer and use it in GitHub Desktop.
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