Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Ask questions, find answers and collaborate at work with Stack Overflow for Teams.
Ask questions, find answers and collaborate at work with Stack Overflow for Teams. Explore Teams
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
#Groovy, 75 73 bytes
t=System.&nanoTime s=t() (-1000..1e3).each{println it} print((t()-s)/1e6)
Thanks to jaxad0127 for saving 2 bytes!
Try it here !
Thanks to jaxad0127jaxad0127 for saving 2 bytes!
#Groovy, 7575 73 bytes
t=System.¤tTimeMillis&nanoTime s=t() (-1000..1e3).each{println it} print ((t()-s)/1e6)
currentTimeMillis. Thanks to Sigh.jaxad0127 for saving 2 bytes!
currentTimeMillis
Try it here !Try it here !
#Groovy, 75 bytes
t=System.¤tTimeMillis s=t() (-1000..1e3).each{println it} print t()-s
currentTimeMillis. Sigh.