Search:

Type: Posts; User: Saintroi

Search: Search took 0.09 seconds.

  1. Replies
    20
    Views
    6,361

    Re: Vampire Numbers

    Heck, I cant even find a list like that. I may just skip this one. Hopefully I can get the one I posted about in another thread on here solved. 5 out of 6 isnt bad.
  2. Replies
    20
    Views
    6,361

    Re: Vampire Numbers

    Woah. Your top of the list in Google is a lot better than mine. Lol. I'll check this out and see if it helps. If not, I may just find a list of all the vampire numbers from 1 - 100,000 and say if the...
  3. Replies
    20
    Views
    6,361

    Re: Vampire Numbers

    Not good. I cant find anything on this subject really. I dont know why. I guess i'll just keep looking. Its hard to find time though.
  4. Replies
    20
    Views
    6,361

    Re: Vampire Numbers

    Yeah I didnt mention did I? I think the it should print 126, I belive, but before that it should have it in that format due to the for loop in the testVamp method, which has a println for each...
  5. Replies
    20
    Views
    6,361

    Re: Vampire Numbers

    The number is input as a string, then put in a variable as a string. I then make another variable and use parseInt to make it the input, but as an Integer.

    Thats all in the main method. I then...
  6. Replies
    20
    Views
    6,361

    Re: Vampire Numbers

    Hm, well when I put in a number like 126, its printing 126 instead of
    1
    2
    6

    like I want it to. Actually I need it to.
    I am really stumped on this program. Geez :/
  7. Replies
    20
    Views
    6,361

    Re: Vampire Numbers

    Yeah thats what I meant. I'm a doofus and put int, but what it is is a String of a number that I need to separate into an array of ints. I think I did it right.

    And thats what I thought too, but...
  8. Replies
    20
    Views
    6,361

    Re: Vampire Numbers

    Well, ive got some code. Which is better than what I had before. But it doesn't really do anything.. I dont know really how to test these things.. Its frustrating.



    import java.util.*;
    public...
  9. Replies
    20
    Views
    6,361

    Re: Vampire Numbers

    Alright sounds good. I just.. ugh.. i'm trying to think of how to start this and ive hit a wall. I guess im gonna go play some games and go to a softball game and see if it hits me. Hopefully by...
  10. Replies
    20
    Views
    6,361

    Re: Vampire Numbers

    Yeah that is the major part, I agree. I havent come up with an algorithm yet though, ive set my program up to accept an int and I have a string set to it as well as an int variable, I just dont know...
  11. Replies
    20
    Views
    6,361

    Re: Vampire Numbers

    Alright I guess. But to clarify, I was not asking anyone to do this for me, I wanted a basic starting algorithm or tips. But I guess I will code what I know I can until I get to something I dont know...
  12. Replies
    20
    Views
    6,361

    Vampire Numbers

    I have to write a program that finds what are called "Vampire Numbers." These are numbers in which the numbers of the number can be rearranged to make a set of numbers that multiply to get that...
Results 1 to 12 of 12