BigInteger class is not in java.util.*
Hence you have to import it
import java.math.BigInteger;
public class MyFirstClass {
public static void main(String[] args) {
BigInteger sm = new BigInteger("4");
System.out.println(sm);
}
}
Problem link: https://leetcode.com/problems/maximize-score-of-numbers-in-ranges/description/ Solution: //import java.util.Arrays; class So...
No comments:
Post a Comment