We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
- Prepare
- Java
- BigNumber
- Java BigDecimal
- Discussions
Java BigDecimal
Java BigDecimal
Sort by
recency
|
496 Discussions
|
Please Login in order to post a comment
import java.math.BigDecimal; import java.util.*; class Solution{ public static void main(String []args){ //Input Scanner sc= new Scanner(System.in); int n=sc.nextInt(); String []s=new String[n+2]; for(int i=0;i
// System.out.println(s[j]); } } i++; }
}
Important hint, the print is already in the lower end of the code. Hope no one wastes so much time like me because I wasn't realizing how my list was duplicating