Gelöst


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...

8 Tage vor

Gelöst


Is the Matrix Square?
Write a function that determines whether the input matrix x is square. Return true if x has the same number of rows and columns...

8 Tage vor

Gelöst


Convert Periodic Continued Fraction to Fractional Radical Representation
Every periodic continued fraction can be prepresented by a number of the form where p, q, and d are all integers with d>0, , an...

9 Tage vor

Gelöst


B-Zuckerman Numbers
Similar to my last problem (B_Harshad Numbers), B-Zuckerman Numbers are numbers that are divisable by the product of their digit...

10 Tage vor

Gelöst


B-Harshad Numbers
Determine (and provide as output in decimal form) all the harshad numbers base B (B-Harshad) from a given array of decimal numbe...

10 Tage vor

Gelöst


Consecutive Pairs of Smooth Numbers from Set of Prime Numbers
Given an input set of prime numbers (p), generate all pairs of consecutive smooth numbers (x) (see Stormer's Theorem). For exam...

10 Tage vor

Gelöst


N-th Digit of all Write-Down Numbers
Write-Down Numbers are: 123456789101112131415161718192021222324252627282930... What is the N'th digit (where N is represented a...

10 Tage vor

Gelöst


To Bet or Not to Bet
Given your current poker hand, the visible cards of your opponent's hand, and the total number of cards being dealt (5 card stud...

10 Tage vor

Gelöst


Determine Poker Hand Winner
Determine the poker hand winner from two hands of cards (each hand will contain the same number of cards between five and thirte...

10 Tage vor

Gelöst


Evaluate Poker Hand
Given an input table of card values and card suits between five and thirteen cards, choose the best five cards and output the ra...

10 Tage vor

Gelöst


Determine Fundamental Solution of Pell Equation
Given, a positive value (d), determine the fundamental solution [x, y] of the Pell equation: x^2 - d*y^2 = 1. Provide character...

10 Tage vor

Gelöst


Multiply Large Hexadecimal Numbers
Multiply two large hexadecimal numbers together and output the hexadecimal representation of the result. For example: a='abcde...

10 Tage vor

Gelöst


Convert Thermocouple output voltage (in mV) to Temperature (in C)
Convert Thermocouples of types (B,E,J,K,N,R,S,T) output junction voltage (in mV) to temperature (in C) using NIST coefficients r...

10 Tage vor

Gelöst


Radioisotope Thermoelectric Generator (RTG)
Given an isotope's atomic mass (in amu), half-life (in years(a) or days(d)), and average kinetic energy absorbed (of emitted dec...

10 Tage vor

Gelöst


Sum of proper divisors (aliquot sum)
A proper divisor of a positive integer n is any divisor of n except n itself. The aliquot sum is the sum of all proper divisors....

10 Tage vor

Gelöst


Caesar Cipher: shift a lowercase string
A Caesar cipher shifts every letter forward through the alphabet by a fixed amount, wrapping around from z back to a. Given a...

10 Tage vor

Gelöst


Nuclear Binding Energy
Compute the approximate nuclear binding energy in MeV using the least-squares fit of the semi-emirical mass formula. Round to th...

11 Tage vor

Gelöst


Encrypt Text Using Modified AES-256 Galois/Counter Mode (GCM)
Encrypt plain text input using a modified AES-256 Galois/Counter Mode (GCM) block cipher. Output the hexidecimal representation ...

11 Tage vor

Gelöst


Play the Disk
To access the memory address of program on disk, MS-DOS uses sectors,cylinders and heads, on disk in 3D coordinates. Given the h...

12 Tage vor

Gelöst


Encrypt Text Using AES-256 Galois/Counter Mode (GCM)
Encrypt plain text input using AES-256 Galois/Counter Mode (GCM) block cipher. Output the hexidecimal representation of the encr...

14 Tage vor

Gelöst


PACMAT 09 - Awesome Tunnelling Ghosts, Equal Speed, 20 Lives, Game Download
The Classic PACMAN game brought to Cody. PACMAT requires clearing all the Yellow Dots. Twenty lives are available. Adjacent G...

14 Tage vor

Gelöst


PACMAT 08 - Awesome Tunneling Ghosts, 2X Speed, 6 Lives, Game Download
The Classic PACMAN game brought to Cody. PACMAT requires clearing all the Yellow Dots. PACMAT moves at 2X Ghost speed. Six li...

15 Tage vor

Gelöst


PACMAT 07 - Optimized Ghosts, PAC 2X Ghost Speed, 4 Lives; Interactive Download
The Classic PACMAN game brought to Cody. PACMAT requires clearing all the Yellow Dots. PACMAT moves at 2X Ghost Speed, Four l...

15 Tage vor

Gelöst


PACMAT 06 - Optimized Ghosts, Equal Speed, Inf Lives; Interactive Download
The Classic PACMAN game brought to Cody. PACMAT requires clearing all the Yellow Dots. Inf lives are available. Adjacent Ghos...

15 Tage vor

Gelöst


Compute the reduced totient
The totient function counts numbers less than n that are relatively prime to n. The reduced totient function, or Carmichael lamb...

16 Tage vor

Gelöst


Count divisors of n!
The factorial of 5, or 5! = 120, has 16 divisors: 1, 2, 3, 4, 5, 6, 8, 10, 12, 15, 20, 24, 30, 40, 60, and 120. How many does n!...

22 Tage vor

Gelöst


Rubik's Cube: 30 Moves or Less : Contest Scoring (Time/Size/Moves)
This Challenge is to solve a thoroughly scrambled Rubik's cube with the best score (30 moves max). Score is Moves + Size/2000 + ...

30 Tage vor

Mehr laden