Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
JS exam part 2 - BPM
function bpm(input) { // your code here } /* Don't edit the code below. */ var a; while (a=readline()) {print(bpm(JSON.parse(a)))} /* {"minutes":2,"beats":240} => should return 120 {"minutes":3,"beats":330} => should return 110 {"minutes":1,"beats":100} => should return 100 */
run
|
edit
|
history
|
help
0
class Stack
Iterator()-function
//Rhino 1.7.7.1print("Hello, world!")
replaceMethod.js
2k Dreamin
Nombre en MAYÚSCULAS
ComposeWordsGrid
I love sorting
Javascript Basics
GCD