Skip to content

Instantly share code, notes, and snippets.

@StarOrpheus
Created December 28, 2014 11:49
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/1d2b56d570bbdd3bba13 to your computer and use it in GitHub Desktop.
Save StarOrpheus/1d2b56d570bbdd3bba13 to your computer and use it in GitHub Desktop.
Дудка какая-то
package src;
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("input.txt");
pw = new PrintWriter("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();
System.out.println(a.max(b.max(rc)));
sc.close();
pw.close();
}
Main(){}
}
@StarOrpheus
Copy link
Author

WTF
Runtime 1!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment