Advertisement
1nikitas

FIXTEH_1

Aug 31st, 2019
397
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.48 KB | None | 0 0
  1. package sketch;
  2.  
  3.  
  4. public class n1 {
  5.     public static void main(String[] args) {
  6.         for (int i = 1; i <= 200; i++){
  7.             if(i*i*i - (i-1)*(i-1)*(i-1) > 47249 )
  8.                 System.out.println(i*i*i);
  9.         }
  10.     }
  11. }
  12.  
  13.  
  14. /*
  15. public class n_n47249 {
  16.     public static void main(String[] args) {
  17.         int a = 2000376;
  18.         int b = 2000376 + 47249;
  19.         for (int i = 100; i <=200; i++) {
  20.             System.out.println(i*i*i);
  21.         }
  22.  
  23.     }
  24. }
  25.  
  26. */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement