Advertisement
DanikYakush

Task15

Jul 4th, 2022
775
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.36 KB | None | 0 0
  1. import java.math.BigInteger;
  2.  
  3. public class Task15 {
  4.     public static void main(String[] args) {
  5.         BigInteger res =  BigInteger.valueOf(2147483647);
  6.         int counter = 1;
  7.         while(counter != 201){
  8.             res.multiply(BigInteger.valueOf((long) counter * counter));
  9.             counter++;
  10.         }
  11.         System.out.println(res);
  12.     }
  13. }
  14.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement