Area of square
Find the area of a square whose diagonal length is given as x.
대략 4년 전
문제를 풀었습니다
"Power matrix" of two vectors
Given two row vectors x,y of lengths m and n (respectively), create an m x n matrix whose i,j entry is x(i)^y(j).
대략 4년 전
문제를 풀었습니다
Sum of terms in a series 1 (★★★)
Given x and n, compute the following sum:
|x|+|x|^(1/2)+|x|^(1/3)+|x|^(1/4)+|x|^(1/5) ... + |x|^(1/n)
where ||x|| indica...
대략 4년 전
문제를 풀었습니다
Zero
given an integer a, find the smallest possible integer b(b>0) such that their bitwise logical AND is zero.
* if a=11(1011) t...
대략 4년 전
문제를 풀었습니다
Swap the first and last columns (★★)
(copy of Prob 19)
Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becom...