Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Lovedek_ellovesi_tavolsag_kalkulator
//JavaScript-C24.2.0 (SpiderMonkey) const v_start = 240 var t = readline() var s = 0 if (t>=0&&t<=4){ if(t<=1&&t>0){ s = t*v_start } if(t>1&&t<=4){ const rem = t-1 s = v_start + (v_start + (v_start*(3-rem)/3))/2*rem } if(s%1!=0){ print(s + " ~" + Math.round(s) + "m"); } else print(s + "m"); } else print("wat")
run
|
edit
|
history
|
help
0
Viktor Schelochkov
Oh my numbers!
123
Tyu
Узнать значени синуса в радианах
Dum
Javascript Closure
Set(), union, intersection, difference
codeing
p