• Cursos
  • Compilador de Código
  • Debatir
  • Precios
  • Teams
Menu
0

rand()Vs Random()

so for rand() % a range modulo op does take more time than Random in java

c++rand
13th Aug 2017, 9:59 AM
yugandar sooraz
yugandar sooraz - avatar
1 Respuesta
+ 2
https://stackoverflow.com/questions/18726102/what-difference-between-rand-and-random-functions
15th Aug 2017, 9:56 PM
hamletmun
hamletmun - avatar

¿Tienes a menudo preguntas como esta?

Aprende gratis de forma más eficaz

  • Introducción a Python

    7,1M de estudiantes

  • Introducción a Java

    4,7M de estudiantes

  • Introducción a C

    1,5M de estudiantes

  • Introducción a HTML

    7,5M de estudiantes

Ver todos los cursos
En tendencia hoy
What kind of questions do companies ask in Data Analyst interviews (including Python, SQL, Power BI, and Excel)?
1 Votes
??
1 Votes
How many program that you've made even a smaal project are good?
0 Votes
Hello guys,
1 Votes
Give some simple practice questions in C
0 Votes
Help me
1 Votes
Programming
0 Votes
Did sololearn helped you to get easier a job?
1 Votes
how do they use javascript
0 Votes
Code coach isn't awarding xp
0 Votes