Risolto


Calculate Current in a Series Circuit Using KVL
Kirchhoff's Voltage Law (KVL) states that the sum of voltages around a closed loop is zero. Given a voltage source (V) and three...

oltre un anno fa

Risolto


Calculating the Total Resistance in a Series Circuit
Description: In a series circuit, the total resistance is the sum of the individual resistances. This problem asks you to write ...

oltre un anno fa

Risolto


Sum of Even Fibonacci Numbers
Description: The Fibonacci sequence is defined as follows:F(1)=1,F(2)=1,F(n)=F(n−1)+F(n−2) for n>2 Write a function that compu...

oltre un anno fa

Risolto


Calculate y=2
Find the value of x so that y=2

oltre un anno fa

Problema


Construct the number counts sequence
A sequence is constructed in the following way. The zeroth term is 1, and the next terms are determined by counting the number i...

oltre un anno fa | 0 | 6 risolutori

Problema


List the first of three consecutive square-free numbers
The numbers 13, 14, and 15 are consecutive, of course, but they also share the property of being square-free. That is, each numb...

oltre un anno fa | 0 | 8 risolutori

Problema


Count the primes resulting from changing one digit of a number
If you start with the number 24 and seek primes by changing a single digit, you can find two: 23 and 29. If you start with 130, ...

oltre un anno fa | 1 | 9 risolutori

Risolto


GJam March 2016 IOW: Password Single
This Challenge is derived from <http://code.google.com/codejam/contest/8274486/dashboard#s=p3 GJam March 2016 Annual I/O for Pas...

oltre un anno fa

Problema


Solve an easy binary puzzle
A binary puzzle presents a square grid (or matrix) of cells in which each cell must be 0 or 1. The finished puzzle must follow t...

oltre un anno fa | 0 | 6 risolutori

Problema


Indicate how the Prague astronomical clock strikes the hours
The astronomical clock in Prague has a bell that rings 1, 2, 3, or 4 times. The number of strokes follows the sequence 123432123...

quasi 2 anni fa | 0 | 6 risolutori

Problema


Convert integers from base 10 to proper primary notation
This problem is the companion to Cody Problem 60782. The proper primary system of expressing numbers has three digits: m, x, and...

quasi 2 anni fa | 0 | 6 risolutori

Problema


Convert integers from proper primary to base 10
The proper primary system of expressing numbers has three digits: m, x, and p, which correspond to -1, 0, and 1. The places in a...

quasi 2 anni fa | 0 | 11 risolutori

Problema


Express integers in negabinary
Negabinary numbers are written in base -2. For example, the negabinary number 11010 is , or 6 in base 10. In a similar way, -3 i...

quasi 2 anni fa | 0 | 7 risolutori

Problema


Play Hocus Focus
The card game Hocus Focus starts by placing twelve cards with wizards face up on a table. The characteristics of the wizards tha...

quasi 2 anni fa | 1 | 11 risolutori

Risolto


Simple addition
Add two numbers using a funciton

quasi 2 anni fa

Problema


Complete hydraulic geometry relations
Hydraulic geometry relations express the velocity , width , and depth of a river as a function of the discharge (or flow) , whi...

quasi 2 anni fa | 0 | 10 risolutori

Risolto


EZ9
EZ

quasi 2 anni fa

Risolto


EZ7
EZ

quasi 2 anni fa

Risolto


EZ8
EZ

quasi 2 anni fa

Risolto


EZ10
EZ

quasi 2 anni fa

Risolto


Castling-03
Given the position of different chess pieces on the chessboard, figure out whether castling is valid or not in the next move (wh...

quasi 2 anni fa

Risolto


EZ4

quasi 2 anni fa

Risolto


EZZ
EZZ

quasi 2 anni fa

Risolto


EZ5
EZ5

quasi 2 anni fa

Risolto


EZ6

quasi 2 anni fa

Risolto


EZ
EZ

quasi 2 anni fa

Risolto


String permutations on phone keyboard
Given a number such as 2639 return all possible string permutations using the phone-keyboard on Problem 1069. input = 78 outpu...

quasi 2 anni fa

Problema


Identify points inside a Reuleaux triangle
Write a function to identify points that lie in or on a Realeaux triangle, which is a curve of constant width. The input to the ...

quasi 2 anni fa | 1 | 8 risolutori

Problema


Determine whether a number is a Ludic prime
Ludic numbers are formed by a sieve. Start with a list of the positive integers. Skip 1 and start with 2. Then delete every seco...

quasi 2 anni fa | 1 | 9 risolutori

Risolto


Forward Elimination for Gauss Elimination
Perform forward elimination for a given pivot column in the augmented matrix, Ab=[A,b]

quasi 2 anni fa

Carica altro