Skip to main content

Timeline for 6 out of 49 Lottery

Current License: CC BY-SA 3.0

3 events
when toggle format what by license comment
Aug 16, 2017 at 22:44 comment added vnp @Deduplicator I honestly don't see how the \$frac{1}{2}\$ factor may appear, but I could be as well wrong.
Aug 16, 2017 at 21:34 comment added Dexter Thorn Thank you for your answer! The output of the program is of course no absolute value, it just was interesting to see how much attempts it could need. My second try is now running for an half hour (and isn't finished). I first tried to generate an array in a seperate function and return it to the calling functions, but then i noticed that i need knowledge about pointers and that stuff to do that. For the sake of simplity i just generated the array in the same function. But I will try to seperate this code in another function as you said when I have learned something more about pointers.
Aug 16, 2017 at 21:25 history answered vnp CC BY-SA 3.0