Page 2 of 3 FirstFirst 123 LastLast
Results 16 to 30 of 34
  1. #16
    Lyoto Machida's Avatar
    Join Date
    Jan 2011
    Gender
    male
    Location
    Far away with girls
    Posts
    3,734
    Reputation
    133
    Thanks
    1,621
    My Mood
    Aggressive
    This is not for my age ^^ 2 hard for me xDD

  2. #17
    Jason's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    /dev/null
    Posts
    5,704
    Reputation
    918
    Thanks
    7,676
    My Mood
    Mellow
    Quote Originally Posted by master131 View Post
    Finished my entry in VB.NET, completes in 218ms. Oh and nice solution HD, seems very complicated since it doesn't use any string functions.
    Your answer was incorrect Go fix et. Also, I said "Optional kicker, no string manip", it IS optional, but cooler .

    @freedompeace, thanks for the solution, you never actually output the number of primes though haha

    OH YEAH CLARIFICATION, THE COUNT IS THE NUMBER OF CIRCULAR PRIMES, INCLUDING EVERY NUMBER IN THE CIRCLE.

    Quote Originally Posted by Jeremy S. Anderson
    There are only two things to come out of Berkley, Unix and LSD,
    and I don’t think this is a coincidence
    You can win the rat race,
    But you're still nothing but a fucking RAT.


    ++Latest Projects++
    [Open Source] Injection Library
    Simple PE Cipher
    FilthyHooker - Simple Hooking Class
    CLR Injector - Inject .NET dlls with ease
    Simple Injection - An in-depth look
    MPGH's .NET SDK
    eJect - Simple Injector
    Basic PE Explorer (BETA)

  3. The Following User Says Thank You to Jason For This Useful Post:

    Hell_Demon (02-25-2011)

  4. #18
    freedompeace's Avatar
    Join Date
    Jul 2010
    Gender
    female
    Posts
    3,033
    Reputation
    340
    Thanks
    2,792
    My Mood
    Sad
    Quote Originally Posted by Jason View Post


    Your answer was incorrect Go fix et. Also, I said "Optional kicker, no string manip", it IS optional, but cooler .

    @freedompeace, thanks for the solution, you never actually output the number of primes though haha

    OH YEAH CLARIFICATION, THE COUNT IS THE NUMBER OF CIRCULAR PRIMES, INCLUDING EVERY NUMBER IN THE CIRCLE.
    So NOW you tell us :L

    And you never said that we had to output 4k numbers somewhere ... =P


    Incorrect? shit lol ill check over it :L

  5. #19
    why06's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Location
    IBM
    Posts
    4,304
    Reputation
    170
    Thanks
    2,203
    My Mood
    Flirty
    So we need to include every number in the circle.

    For instance:
    If we had 1193 we would need to include 1931, 9311, and 3119 in our list?

    Also should we provide our own timers in the code. or will timing be done by a separate program?

    "Every gun that is made, every warship launched, every rocket fired signifies, in the final sense, a theft from those who hunger and are not fed, those who are cold and are not clothed. This world in arms is not spending money alone. It is spending the sweat of its laborers, the genius of its scientists, the hopes of its children. The cost of one modern heavy bomber is this: a modern brick school in more than 30 cities. It is two electric power plants, each serving a town of 60,000 population. It is two fine, fully equipped hospitals. It is some fifty miles of concrete pavement. We pay for a single fighter plane with a half million bushels of wheat. We pay for a single destroyer with new homes that could have housed more than 8,000 people. This is, I repeat, the best way of life to be found on the road the world has been taking. This is not a way of life at all, in any true sense. Under the cloud of threatening war, it is humanity hanging from a cross of iron."
    - Dwight D. Eisenhower

  6. #20
    freedompeace's Avatar
    Join Date
    Jul 2010
    Gender
    female
    Posts
    3,033
    Reputation
    340
    Thanks
    2,792
    My Mood
    Sad
    Quote Originally Posted by why06 View Post
    So we need to include every number in the circle.

    For instance:
    If we had 1193 we would need to include 1931, 9311, and 3119 in our list?

    Also should we provide our own timers in the code. or will timing be done by a separate program?
    Well, duh :L

    I think he meant if you had 182019 (which is less than 500k), and it was circular with 910881, we would have to include that as well, even though it shouldn't be (it is less than 500k).

  7. #21
    whit's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Posts
    7,159
    Reputation
    490
    Thanks
    2,253
    Im in algebra 2 and never heard of this /fp Again
    Time for another fail ettemp on learn on wikipedia again

  8. #22
    NextGen1's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    Not sure really.
    Posts
    6,312
    Reputation
    382
    Thanks
    3,019
    My Mood
    Amazed
    mine is running at 578 ms, trying to work on a diff solution, but if nothing, oh well.

    got it down to 432, App Counts how many primes there are, Then How many are circular primes, the lists the primes.


    Last edited by NextGen1; 02-25-2011 at 08:23 PM.


     


     


     



    The Most complete application MPGH will ever offer - 68%




  9. The Following User Says Thank You to NextGen1 For This Useful Post:

    why06 (02-25-2011)

  10. #23
    Jason's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    /dev/null
    Posts
    5,704
    Reputation
    918
    Thanks
    7,676
    My Mood
    Mellow
    Quote Originally Posted by freedompeace View Post


    So NOW you tell us :L

    And you never said that we had to output 4k numbers somewhere ... =P


    Incorrect? shit lol ill check over it :L
    Master's was incorrect, not yours , that's why I quoted him and then said it, then directed a specific line at you.

    To anyone that has any confusion, please refer to Euler

    Problem 35 - Project Euler

    I probably should have made it to 1000000 like theirs, didn't really thing about the combinations that ended over 500k (as freedom gave in his example). This was my bad guys.

    Quote Originally Posted by Jeremy S. Anderson
    There are only two things to come out of Berkley, Unix and LSD,
    and I don’t think this is a coincidence
    You can win the rat race,
    But you're still nothing but a fucking RAT.


    ++Latest Projects++
    [Open Source] Injection Library
    Simple PE Cipher
    FilthyHooker - Simple Hooking Class
    CLR Injector - Inject .NET dlls with ease
    Simple Injection - An in-depth look
    MPGH's .NET SDK
    eJect - Simple Injector
    Basic PE Explorer (BETA)

  11. #24
    freedompeace's Avatar
    Join Date
    Jul 2010
    Gender
    female
    Posts
    3,033
    Reputation
    340
    Thanks
    2,792
    My Mood
    Sad
    Quote Originally Posted by Jason View Post


    Master's was incorrect, not yours , that's why I quoted him and then said it, then directed a specific line at you.

    To anyone that has any confusion, please refer to Euler

    Problem 35 - Project Euler

    I probably should have made it to 1000000 like theirs, didn't really thing about the combinations that ended over 500k (as freedom gave in his example). This was my bad guys.
    So now mine is right and the others' is wrong? yay xD

  12. #25
    Hassan's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    System.Threading.Tasks
    Posts
    4,764
    Reputation
    495
    Thanks
    2,133
    My Mood
    Dead
    Quote Originally Posted by NextGen1 View Post
    mine is running at 578 ms, trying to work on a diff solution, but if nothing, oh well.

    got it down to 432, App Counts how many primes there are, Then How many are circular primes, the lists the primes.


    Mine runs in 2 MS ?

  13. #26
    Jason's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    /dev/null
    Posts
    5,704
    Reputation
    918
    Thanks
    7,676
    My Mood
    Mellow
    Quote Originally Posted by Hassan View Post


    Mine runs in 2 MS ?
    Hassan we all know 7 days to write < 50 lines of code is out of the question for you. 2 weeks...maybe but unlikely.

    Quote Originally Posted by Jeremy S. Anderson
    There are only two things to come out of Berkley, Unix and LSD,
    and I don’t think this is a coincidence
    You can win the rat race,
    But you're still nothing but a fucking RAT.


    ++Latest Projects++
    [Open Source] Injection Library
    Simple PE Cipher
    FilthyHooker - Simple Hooking Class
    CLR Injector - Inject .NET dlls with ease
    Simple Injection - An in-depth look
    MPGH's .NET SDK
    eJect - Simple Injector
    Basic PE Explorer (BETA)

  14. #27
    Hell_Demon's Avatar
    Join Date
    Mar 2008
    Gender
    male
    Location
    I love causing havoc
    Posts
    3,976
    Reputation
    343
    Thanks
    4,320
    My Mood
    Cheeky
    Y'all noobs don't stand a chance against my godlike code ;P I WIN AGAIN =D
    25 ms =D /brag & /ridicule

    That and VB is sloooooow ;D

    edit: forgot to say I also wrote a solution on my calculator during maths class, it completes it in 18 seconds xD
    Last edited by Hell_Demon; 02-26-2011 at 03:30 AM.
    Ah we-a blaze the fyah, make it bun dem!

  15. #28
    NextGen1's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    Not sure really.
    Posts
    6,312
    Reputation
    382
    Thanks
    3,019
    My Mood
    Amazed
    I agree, My logic is perfect, the issue is currently VB + Single core , Processor both play a huge part , I'm trying a few scripts (python and ruby) to see if I can get this a little faster.
    Last edited by NextGen1; 02-26-2011 at 06:31 AM.


     


     


     



    The Most complete application MPGH will ever offer - 68%




  16. #29
    Hassan's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    System.Threading.Tasks
    Posts
    4,764
    Reputation
    495
    Thanks
    2,133
    My Mood
    Dead
    Quote Originally Posted by Jason View Post


    Hassan we all know 7 days to write < 50 lines of code is out of the question for you. 2 weeks...maybe but unlikely.
    I am lazy, doesn't mean I can't do it. I will submit mine when I am in mood ;D
    Last edited by Hassan; 02-26-2011 at 06:41 AM.

  17. #30
    Jason's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    /dev/null
    Posts
    5,704
    Reputation
    918
    Thanks
    7,676
    My Mood
    Mellow
    Quote Originally Posted by Hassan View Post


    I am lazy, doesn't mean I can't do it. I will submit mine when I am in mood ;D
    Yeah my point was you only have 7 days, takes you over a month to 'get in the mood' to code.

    Quote Originally Posted by Jeremy S. Anderson
    There are only two things to come out of Berkley, Unix and LSD,
    and I don’t think this is a coincidence
    You can win the rat race,
    But you're still nothing but a fucking RAT.


    ++Latest Projects++
    [Open Source] Injection Library
    Simple PE Cipher
    FilthyHooker - Simple Hooking Class
    CLR Injector - Inject .NET dlls with ease
    Simple Injection - An in-depth look
    MPGH's .NET SDK
    eJect - Simple Injector
    Basic PE Explorer (BETA)

Page 2 of 3 FirstFirst 123 LastLast