Given a number find two variables
If the input is *x*, find *a* and *b* from the following equation: *x = a*2^b*.
Hint: *b* is an integer while *x* and *a* ar...
1年以上 前
解決済み
Volume of a Parallelepiped
Calculate the volume of a Parallelepiped given the vectors for three edges that meet at one vertex.
A cube is a special case ...
Find all prime factors of the input
Given an input x, find its all prime factors. Return the vector with all factors in ascending order.
Efficiency is the key here...