Bit to Gigabyte
1 bit =
1.25 × 10^-10 gigabytes | x is bit | y is gigabyte
5年以上 前
解決済み
Kelvin to Fahrenheit
You can find a doc about it in here => https://www.rapidtables.com/convert/temperature/how-kelvin-to-fahrenheit.html
x is kelvi...
5年以上 前
解決済み
What percentage?
Calculate the output c as the percentage of a on b for given a and b.
5年以上 前
解決済み
Multiply by 3
Given the variable x as your input, multiply it by three and put the result in y.
二乗になっている数を見つけよう
ある数のベクトルが与えられた場合、そのベクトルの要素の一つが他の要素の二乗であれば true を返し、それ以外の場合は false を返すようなコードを書いてみましょう。
例:
入力が a = [2 3 4] のとき、
出力 b は t...
5年以上 前
解決済み
チェッカーボードを作ろう
整数 n が与えられた時、以下の様な1と0を含むn×nの行列を作成しましょう。a(1,1) は1にする必要があります。
例:
入力 n = 5
出力 a が [1 0 1 0 1
0 1 0 1 0
...
5年以上 前
解決済み
Make a checkerboard matrix
Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1.
Examp...