Sum of the Matrix Elements
Add up all the elements in a NxM matrix where N signifies the number of the rows and M signifies the number of the columns.
E...
Beginner's Problem - Squaring
Try out this test problem first.
Given the variable x as your input, square it by two and put the result in y.
Examples:
...
4年以上 前
解決済み
Volume Pillar
Calculate the volume of a pillar with radius l and heigth ar.
4年以上 前
解決済み
Area of a Square
Inside a square is a circle with radius r.
What is the area of the square?
4年以上 前
解決済み
Square a Number
Given an input x, return y, which is equal to the square of x.
4年以上 前
解決済み
Sum of Two Numbers
Given two integer numbers x and y, calculate their sum and put it in z.
Examples:
Inputs x = 2, y = 4
Output z is 6
...
4年以上 前
解決済み
Y=X
Given an input variable x, output a variable y that is equal in value to x.
Example:
Input x = 1
Output y is 1
Inp...
4年以上 前
解決済み
Say something funny
Say something funny, or not.
Your solution will be (fully automatically and objectively) scored based on how clever or funny ...
4年以上 前
解決済み
only input
Return the output without writing any code into the function.