Added 20 solutions
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
// Author: Rodney Shaghoulian
|
||||
// Github: github.com/rshaghoulian
|
||||
// HackerRank: hackerrank.com/rshaghoulian
|
||||
|
||||
import java.util.Scanner;
|
||||
import java.math.BigInteger;
|
||||
|
||||
public class Solution {
|
||||
public static void main(String[] args) {
|
||||
Scanner scan = new Scanner(System.in);
|
||||
BigInteger a = new BigInteger(scan.next());
|
||||
BigInteger b = new BigInteger(scan.next());
|
||||
System.out.println(a.add(b));
|
||||
System.out.println(a.multiply(b));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user