Rotate Matrix Depending on the input
Rotate matrix (CounterClockwise) via 90, 180 or -90 depending on the input
Ex. a = [1 2 3;
4 5 6;
7 8 9]
b = 90;
...
While I am not equal
Iterate by z(input) until not equal to baseline. Output will be equal to number of iterations
x = -5
y = 8
z = 3
output = 5
9年以上 前
解決済み
Annoying population
Every year the number of annoying persons in the office triples
Found the population, given a(0) and t
9年以上 前
解決済み
Money money money
There's a group of men called 5/6. It's like when you borrow $5, you need to pay him $6
Try to code, 5/6 people haha
9年以上 前
解決済み
Skip and Add
Given x, and y
From 1 to x, add every y interval
9年以上 前
解決済み
Add Me To Death (Sum sum sum)
Given certain vector, sum of the input vector, get the sum of 2 adjacent numbers in the input, and sum of the output vector (wh...
Bae Slap Counter LOL XD
How many times did your bae had slapped you? Create a formula counts how many times you are slapped
9年以上 前
解決済み
This is just like your weight :)
Imagine your weight as a sawtooth wave appended with a slope
It varies yet the trend is increasing :)
Decode the values throug...