+ 18

Challenge: Generate random number without using any random number generator method/function.

Build Your Own Simple Random Numbers Method the output of code will must always print different numbers after execution. If you will get same value each time then your program is not generating truly random number

17th Jan 2018, 2:17 AM
Я. ♨
Я. ♨ - avatar
10 Respostas
19th Jan 2018, 4:55 PM
LukArToDo
LukArToDo - avatar
17th Jan 2018, 5:00 AM
Louis
Louis - avatar
+ 9
https://code.sololearn.com/W6ozhp248u1F/?ref=app
17th Jan 2018, 2:24 AM
Dapper Mink
Dapper Mink - avatar
+ 6
Check This Out!! What is better than time which changes every second? https://code.sololearn.com/c2NEOOccJlH9/?ref=app
18th Jan 2018, 8:19 PM
Abhishek Tandon
Abhishek Tandon - avatar
17th Jan 2018, 3:23 AM
Jonathan Pizarra (JS Challenger)
Jonathan Pizarra (JS Challenger) - avatar
+ 2
https://code.sololearn.com/cijXXmXe3Qzj/?ref=app
19th Jan 2018, 4:05 PM
Tim
Tim - avatar
0
https://code.sololearn.com/clJd6Ho7j7iY Does this qualifies? XDDDD
21st Jun 2018, 3:17 PM
Yuvraj Dhruw
0
So i remember pondering this question back when i used to think about that sort of thing, and it's one of the few algorithmic conundrums i never came up with an answer for other than just coming up with, i.e. "writing down," a more or less approximately random list of numbers and then going down it, and the longer it is the better approximation it would be, but unless you spent an inordinately long amount of time coming up with the list, it would definitely not be very random. Come to think of it, i think i just now came up with a way to make it significantly closer to true randomness than what i just described. I'll try to see if it works. I'd like to state beforehand for the record that i have not actually done any programming in years, and also that i just smoked some delicious Trulieve Member Berry TruFlower(c) (for whatever that's worth lol)! I guess I'll first try to just sketch out an algorithm, although idk if I've ever really done it that way before. only tutorial I've gotten thru yet is c. :)
2nd May 2020, 9:57 PM
Matthew Levine
Matthew Levine - avatar
0
Well after a decent amount of work, i haven't actually written any code, but i think i pretty much proved the basic algorithm in my notes. Guess I'll post them just in case anybody wants to look. and of course it's way more complicated and messy looking than i anticipated or intended lol. https://code.sololearn.com/crhHOJzAy8hU/?ref=app
2nd May 2020, 11:48 PM
Matthew Levine
Matthew Levine - avatar