Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урокОбсуждения
Change number in srand(time(0))
0 голосов
1 ответWhat is this srand (time(0))
2 голосов
2 ответов
so although using srand(time(0)) can be used to get truly random numbers, how truly random are they? For example, if one were to call this method at the same time (in this example, if one were to use this command at 51s) each time would the numbers generated be the same???
If so, are the numbers still truly random??
And if this theory is true, how can one generate truly random numbers that cannot repeat based on external variables (e.g., time)?
2 голосов
4 ответовАктуальное сегодня
How to cast in python : 2
2 Votes
Bits
4 Votes
Polyalphabetic Cipher
0 Votes
Why didn't I get it?
1 Votes
No connection message
0 Votes