丹尼尔·莫兰(Daniel Moran)
内容提要
Solved
简单方程:年薪
Given an hourly wage, compute an annual salary by multiplying the wage times 40 and times 50, because salary = wage x 40 hours/w...
3年前
Solved
列入五角大楼?
Your function will be provided with the five vertices of a pentagon (p) as well as the center point (cp) and radius (r) of a cir...
3年前
Solved
圈/五角大楼重叠
Your function will be provided with the five vertices of a pentagon (p) as well as the center point (cp) and radius (r) of a cir...
3年前
Solved
Octoberfest festival
A group of students decided to visit Octoberfest festival. First they ordered one beer, then after half-hour they taken one more...
3年前
Solved
rocaman序列-i
Recaman Sequence (A005132 -
3年前
Solved
ASCII生日蛋糕
Given an age and a name, give draw an ASCII birthday cake. For example, given the name "CODY" and the age 5, return a string wit...
3年前
Solved
制作一个随机的,不重复的向量。
这是一个基本的MATLAB操作。正是因为instructional purposes. --- If you want to get a random permutation of integer...
3年前
Solved
交换输入参数
Write a two-input, two-output function that swaps its two input arguments. For example: [q,r] = swap(5,10) returns q = ...
3年前
Solved
Reverse the vector
Reverse the vector elements. Example: Input x = [1,2,3,4,5,6,7,8,9] Output y = [9,8,7,6,5,4,3,2,1]
3年前
Solved
排序最低?
Return 1 if the input is sorted from highest to lowest, 0 if not. Example: 1:7 -> 0 [7 5 2] -> 1
3年前
Solved
根据远离原点的范围对复数列表进行排序。
Given a list of complex numbers z, return a list zSorted such that the numbers that are farthest from the origin (0+0i) appear f...
3年前
Solved
Return a list sorted by number of consecutive occurrences
Inspired by Problem 38 by Cody Team. Given a vector x, return a vector y of the values in x sorted by the number of CONSECUTIVE...
3年前
Solved
Find the area of the four walls
If length, breadth and height of the walls are given, find the area of the four walls.
3年前