Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package sketch;
- public class n1 {
- public static void main(String[] args) {
- for (int i = 1; i <= 200; i++){
- if(i*i*i - (i-1)*(i-1)*(i-1) > 47249 )
- System.out.println(i*i*i);
- }
- }
- }
- /*
- public class n_n47249 {
- public static void main(String[] args) {
- int a = 2000376;
- int b = 2000376 + 47249;
- for (int i = 100; i <=200; i++) {
- System.out.println(i*i*i);
- }
- }
- }
- */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement