Skip to content

Instantly share code, notes, and snippets.

@zhrkvl
Created December 28, 2014 11:49
Show Gist options
  • Select an option

  • Save zhrkvl/1d2b56d570bbdd3bba13 to your computer and use it in GitHub Desktop.

Select an option

Save zhrkvl/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(){}
}
@zhrkvl
Copy link
Copy Markdown
Author

zhrkvl commented Dec 28, 2014

WTF
Runtime 1!

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