
Programming Languages:
C++, C, C#, MATLAB, SQL
Spoken Languages:
English
C++, C, C#, MATLAB, SQL
Spoken Languages:
English
Statistics
Cody
0 문제
26 해답
순위
N/A
of 263,048
평판
N/A
참여
0 질문
0 답변
답변 채택
0.00%
획득한 표
0
순위
10,254
of 113,967
참여
0 문제
26 해답
점수
329
배지 수
4
참여
0 게시물
참여
0 공개 채널
평균 평점
참여
0 Highlights
AVERAGE NO. OF LIKES
Content Feed
해결됨
Project Euler: Problem 11, Largest product in a grid
What is the greatest product of _k_ adjacent numbers in the same direction (up, down, left, right, or diagonally) in a _n×n_ gri...
5달 전
해결됨
Create the Ulam spiral
Have you ever seen this wonderful spiral ? The Ulam Spiral is arranging prime numbers in a clockwise spiral starting in 0. Give...
5달 전
해결됨
Get the n-th rand number with given seed
Given seed s, return the n-th rand number using rand(). Round the answer with 4 digits. n is a postive integer.
5달 전
해결됨
Area of a regular hexagon
Given the length of a side of a regular hexagon, return its area rounded to two decimal places.
5달 전
해결됨
Draw "T" inside a Zero Matrix
Given a x-by-x matrix filled with zeros (x> 2). Use 1 to draw a letter "T" into it! Like this: x = 5, y = 1 1 1 1 1 0 0 1 0 0...
5달 전
해결됨
Add the number of horizontal and vertical movements to each matrix element
Given n, create a square matrix and with element (1,1) = 1, add 1 to each element for each horitizonal and vertical movement. E...
5달 전
해결됨
Classify product/digit-sum sequences
Cody Problem 53120 involved a sequence in which a term is computed by multiplying the previous two terms and adding the digits o...
5달 전
해결됨
Compute the Sequence of the Day
A sequence starts with 1 and 2, and each subsequent term is the sum of the digits of the product of the previous two terms. As a...
6달 전
해결됨
Draw the symbol '+'
Draw '+' in an x-by-x matrix (where x is odd and x >3) Example: x = 5 y = [0 0 1 0 0 0 0 1 0 0 1 1 1 1 1 0 ...
6달 전
해결됨
Easy Sequences 30: Nearly Pythagorean Triangles
A Nearly Pythagorean Triangle (abbreviated as "NPT'), is an integer-sided triangle whose square of the longest side, which we wi...
8달 전
해결됨
Easy Sequences 51: Positive Gaussian Primes
A Gaussian Prime is a gaussian integer that cannot be decomposed as product of two non-unit gaussian integers (the complex units...
8달 전
해결됨
Easy Sequences 9: Faithful Pairs
A "faithful number" is a non-prime number that is one less or one more than some prime number but not both. For example, for num...
8달 전
해결됨
Easy Sequences 58: Curious Prime-Rational Functions
For some prime numbers and where , a rational function , is defined as follows: . Using the output , another rational functi...
8달 전
해결됨
Performance - summation
Given a vector of natural numbers x = [1,2,3,...,N] compute the sum of its elements by not stressing the machine too much...
8달 전
해결됨
Probabilities - Balls and urns - 01
The urn contains B blue balls and R red balls. Each trial consists of drawing one random ball from the urn and observing its col...
8달 전
해결됨
Easy Sequences 53: Greatest Proper Divisor
The greatest proper divisor () of an integer is the largest integer , such that and . Furthermore, we define: . Below is the...
8달 전
해결됨
Easy Sequences 55: "Ugly" Rectangles?
A positive integer is called a regular number, if and only if there exist a non-negative integer , such that . For some reason...
8달 전
해결됨
Easy Sequences 3: Prime 44-number Squares
The positive integers 62 and 238 are related. Their squares (3844 and 56,644) both end in '44'. In fact, 62 and 238 are the 3rd ...
8달 전
해결됨
Easy Sequences 1: Find the index of an element
The nth element of a series is defined by: . Obviously, the first element . Given the nth element , find the value of the corre...
8달 전
해결됨
Easy Sequences 56: Counting "Ugly" Numbers
A positive integer is called a regular number, if and only if there exist a non-negative integer , such that . For some reason...
8달 전
해결됨
Multiply Large Hexadecimal Numbers
Multiply two large hexadecimal numbers together and output the hexadecimal representation of the result. For example: a='abcde...
8달 전
해결됨
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,....
8달 전
해결됨
Determine the number of odd integers in a vector
Determine the number of unique odd integers in a vector. Examples: Input x = [2 5 8 3 7 1]; Output y = 4; Inp...
8달 전
해결됨
Volume difference between Ellipsoid and Sphere
Given an ellipsoid of semi principal axis (a,b,c) find the volume of the difference between this ellipsoid and the sphere with...
8달 전