Feeds
문제를 풀었습니다
Looking for Squares
Need n squares that equal one square all together, none zero, none fractured. For example, calling squares(2) should output [16 ...
대략 21시간 전
문제를 풀었습니다
Distance walked 3D
suppose you go from x-y-z coordinates [3,4,2] to [0,0,2] to [0,1,2] to [1,1,2], to [1,1,20] then you walked 25 units of distance...
대략 22시간 전
문제를 풀었습니다
Testing for randomness: uniform distribution of real numbers (distribution checking)
You will be presented with a variety of sequences of real numbers. Your job is to answer the question: "Is this a uniformly di...
대략 22시간 전
문제를 풀었습니다
Easy Sequences 106: Counting Pythagorean Triangles inside a Circle
Pythagorean Triangle is a right triangle all sides of which are represented by integers. Examples are triangles with sides and ...
1일 전
문제를 풀었습니다
Spell the number
Using the British short scale notation, write a function to return the correct spelling of a number passed as a numeric string i...
1일 전
문제를 풀었습니다
Easy Sequences 112: Almost Golden Integer Rectangles 1
A golden rectangle is a rectangle whose side lengths are in the golden ratio, , where: . ...
1일 전
문제를 풀었습니다
Calculate a Damped Sinusoid
The equation of a damped sinusoid can be written as y = A.ⅇ^(-λt)*cos(2πft) where A, λ, and f are scalars and t is a vector. ...
1일 전
문제를 풀었습니다
Plot Damped Sinusoid
Given two vectors |t| and |y|, make a plot containing a blue ( |b| ) dashed ( |--| ) line of |y| versus |t|. Mark the minimum...
1일 전
문제를 풀었습니다
Find MPG of Lightest Cars
The file cars.mat contains a table named cars with variables Model, MPG, Horsepower, Weight, and Acceleration for several classi...
1일 전
문제를 풀었습니다
Crop an Image
A grayscale image is represented as a matrix in MATLAB. Each matrix element represents a pixel in the image. An element value re...
1일 전
문제를 풀었습니다
Verify Law of Large Numbers
If a large number of fair N-sided dice are rolled, the average of the simulated rolls is likely to be close to the mean of 1,2,....
1일 전
문제를 풀었습니다
Calculate Amount of Cake Frosting
Given two input variables r and h, which stand for the radius and height of a cake, calculate the surface area of the cake you n...
1일 전
문제를 풀었습니다
Convert integers from base 10 to proper primary notation
This problem is the companion to Cody Problem 60782. The proper primary system of expressing non-negative numbers has three digi...
29일 전
문제를 풀었습니다
Convert integers from primary notation to base 10
The primary system of expressing numbers has three digits: m, x, and p, which correspond to -1, 0, and 1. The places in a primar...
29일 전
문제를 풀었습니다
Solutions to Generalized Pell Equation or Quadratic Diophantine
The generalized Pell equation is of the form: . Given D and N as inputs, output the first 50 positive integer solutions [x, y] s...
29일 전
문제를 풀었습니다
The Answer to Life, the Universe, and Everything
A variation of a previous Hitchhiker's Guide to the Galaxy problem. *Inputs:* Life, the Universe, and Everything *Output:*...
대략 1개월 전
문제를 풀었습니다
Volume of this donut
Given hole diameter a, and outermost diameter b, determine the volume y of the resulting donut.
대략 1개월 전
문제를 풀었습니다
Largest Small n-Polygons or Biggest Little Polygon
Largest Small n-Polygons or Biggest Little Polygon for a number n is the polygon that has diameter one and that has the largest ...
대략 1개월 전
문제를 풀었습니다
5-year Annedversaries
This is the Bonus Round problem for the 2025 Cody Contest. Attend the watch party on Friday, March 27 to see how 6 champions fro...
대략 1개월 전
문제를 풀었습니다
Clueless - Lord Ned in the Game Room with the Technical Computing Language
[Warning: this is a nontrivial programming problem] Worried about the decline in reasoning skills in the clueless populace of...
4개월 전
문제를 풀었습니다
Government of the Neds, by the Neds, for the Neds - Distribute the Nedsburg City Councilors
The city of Nedsburg consists of several islands, the number of which changes regularly, due to tectonic forces, shoddy civil en...
5개월 전
문제를 풀었습니다
Who Holds the Lord Ned Challenge Shield?
During the Nedball Premier League regular season, each of the n teams plays each of the other (n-1) teams twice, once at home an...
5개월 전
문제를 풀었습니다
Popular Word Game™ Distance
Professor Ned, who holds the Nedowed Chair of Crackpot Mathematics at the University of Nedsburg, has recently discovered the da...
5개월 전
문제를 풀었습니다
Leaderboard for the Nedball World Cup
At the upcoming inaugural Nedball World Cup, organizers need to track who is in the lead for the coveted Golden Toeplitz trophy,...
5개월 전
문제를 풀었습니다
A Nedlish Country Garden - Check for Valid Arrangement
Nedland is famous for its stately gardens, which typically have a centerpiece of a square grid, with certain squares featuring a...
5개월 전
문제를 풀었습니다
The Bridges of Nedsburg
The fabled city of Nedsburg consists of several islands connected by bridges. Due to tectonic forces, shoddy civil engineering, ...
5개월 전
문제를 풀었습니다
Average Number of Moves for the Royal Game of Err
Bored of tedious court assemblies, King Neduchadneddar the Procrastinator has found a cunning way to keep his advisors, councilo...
5개월 전
문제를 풀었습니다
Transition Matrix for the Royal Game of Err
Bored of tedious court assemblies, King Neduchadneddar the Procrastinator has found a cunning way to keep his advisors, councilo...
5개월 전
문제를 풀었습니다
Convert Decimal to Hexavigesimal
NASA (Ned’s Alien-Spying Agency) have made contact with a 13-fingered race from the planet Genai. Naturally, Ned’s shadowy opera...
5개월 전
문제를 풀었습니다
Convert Hexavigesimal to Decimal
NASA (Ned’s Alien-Spying Agency) have made contact with a 13-fingered race from the planet Genai. Naturally, Ned’s shadowy opera...
5개월 전











