
GeeTwo
Proud father, underwater acoustician, FIRST robotics volunteer, once and future FIRST mentor
C++, C, Java, Javascript, MATLAB, SQL, HTML, CSS, Arduino, Shell, Assembly, Fortran
Spoken Languages:
English
Statistics
RANK
11 020
of 281 911
REPUTATION
4
CONTRIBUTIONS
0 Questions
5 Answers
ANSWER ACCEPTANCE
0.00%
VOTES RECEIVED
0
RANK
of 19 064
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Content Feed
Solved
Tautology
Check if the given expression is always true. For example, the sentence '~(A & B) == (~A | ~B)' is always true. Chara...
4 dagar ago
Solved
Is this a valid Tic Tac Toe State?
For the game of <https://en.wikipedia.org/wiki/Tic-tac-toe Tic Tac Toe> we will be storing the state of the game in a matrix M. ...
5 dagar ago
Solved
Hexagonal numbers on a spiral matrix
Put hexagonal numbers in a ( m x m ) spiral matrix and return the sum of its diagonal elements. Formula of hexagonal numbers ...
6 dagar ago
Solved
Digit concentration in Champernowne's constant
Consider the first 50 digits of Champernowne's constant 0.12345678910111213141516171819202122232425262728293... The...
6 dagar ago
Solved
Ned's queens
A tribute to Cody's five-year anniversary should also celebrate the people behind Cody, and in this particular case, our illustr...
6 dagar ago
Solved
Acid and water
⚖ ⚖ ⚖ ⚖ ⚖ ⚖ ⚖ ⚖ Assume that there is a 100 liter tank. It is initially fi...
6 dagar ago
Solved
The 5th Root
Write a function to find the 5th root of a number. It sounds easy, but the typical functions are not allowed (see the test su...
9 dagar ago
Solved
An asteroid and a spacecraft
🚀 Imagine a non-relativistic simple situation. Assume positions p0, p1, p2, and p3 are three dimensional Cartesian ...
9 dagar ago
Solved
Sums of Distinct Powers
You will be given three numbers: base, nstart, and nend. Write a MATLAB script that will compute the sum of a sequence of both ...
9 dagar ago
Solved
5th Time's a Charm
Write a function that will return the input value. However, your function must fail the first four times, only functioning prope...
10 dagar ago
Solved
Inscribed Pentagon? 2
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...
10 dagar ago
Solved
Cache me Outside
The test suite includes a simple recursive Fibonacci sequence generator, but it's terribly inefficient. One simple method for im...
15 dagar ago
Solved
Pernicious Anniversary Problem
Since Cody is 5 years old, it's pernicious. A <http://rosettacode.org/wiki/Pernicious_numbers Pernicious number> is an integer w...
15 dagar ago
Solved
Twins in a Window
<http://en.wikipedia.org/wiki/Twin_primes Twin primes> are prime numbers that differ by 2, such as [11,13] or [41,43]. Write a f...
15 dagar ago
Solved
Extra safe primes
Did you know that the number 5 is the first safe prime? A safe prime is a prime number that can be expressed as 2p+1, where p is...
15 dagar ago
Solved
Find the nearest prime number
Happy 5th birthday, Cody! Since 5 is a prime number, let's have some fun looking for other prime numbers. Given a positive in...
15 dagar ago
Solved
Easy Sequences 113: Almost Golden Integer Rectangles 2
A golden rectangle is a rectangle whose side lengths are in the golden ratio, , where: . ...
15 dagar ago
Solved
Easy Sequences 64: Base-14 Arithmetic Function
For an integer , the base-14 arithmetic function, , is defined as follows: Convert to base-14, using the letters '' for digits...
17 dagar ago
Solved
Easy Sequences 68: Factorial Rectangles
I'll celebrate my comeback to Cody with this one easy problem... ---------------- The rectangle below is special: ...
19 dagar ago
Solved
Easy Sequences 69: Radix Economy of Factorials
The Radix Economy of a number in a particular base is the number of digits needed to express it in that base, multiplied by the ...
20 dagar ago
Solved
Easy Sequences 117: Fractional Part of Cube Roots
The fractional part function of a positive real number , denoted as , is defined as: , where , is the floor of . Thus, , and . ...
20 dagar ago
Solved
Easy Sequences 65: Fractional Part of Square Roots
The fractional part function of a positive real number , denoted as , is defined as: , where , is the 'floor' of . Thus, , and ...
21 dagar ago
Solved
Easy Sequences 66: Fractional Part of Sum of Consecutive Powers over a Prime
Given three postive integers, , and , create the function , defined as follows: Where is the th prime and the s...
25 dagar ago
Solved
Easy Sequences 63: Base-63 Arithmetic Functions
In this exercise we are required to implement 7 basic 'unsigned integer' arithmetic functions in base-63: to63(x) - convert...
ungefär en månad ago
Solved
Easy Sequences 62: Sum of Omega-3 Function
For an integer , the prime big omega function, , is defined as the total number of prime factors of . If , since , therefore . ...
ungefär en månad ago
Solved
Easy Sequence 61: Wide Pythagorean Triangles
An integer-sided right triangle with sides , is called a "wide Pythagorean triangle", if , and . Write a program that counts a...
ungefär en månad ago
Solved
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...
ungefär en månad ago
Solved
Easy Sequences 57: "Pretty-gorean" Triangles?
A positive integer is called a regular number, if and only if there exist a non-negative integer , such that . For some reason...
ungefär en månad ago
Solved
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...
ungefär en månad ago
Solved
Easy Sequences 50: Blocked Gaussian Integers
A Gaussian Integer is a complex number whose real and imaginary parts are both integers. A gaussian integer is said to be bloc...
ungefär en månad ago