Gelöst


Exact Cover
An efficient solution to the exact cover problem can be useful in many situations. In this problem, you are welcome to use Knuth...

mehr als 3 Jahre vor

Gelöst


IQpuzzler Preparation #3: Detect isolated groups of zeros in a matrix
Return true if any small, rectangular shaped, isolated groups of zeros (size 1x1, 1x2, 2x1, 1x3, 3x1 or 2x2) are present in a ma...

mehr als 3 Jahre vor

Gelöst


Sum the unitary divisors of a number
Cody Problems 1933 and 46898 deal with , the sum of divisors function. This problem deals with , the sum of unitary divisors fun...

mehr als 3 Jahre vor

Gelöst


Cricket - Is It LBW?
LBW has an unfair reputation as complicated. But if you've watched a third umpire referral, you'll know that it's just a logical...

mehr als 3 Jahre vor

Gelöst


IQpuzzler Preparation #2: Detect isolated zeros in a 2D matrix
Return true if any isolated single zeros are present in the input M-by-N matrix (zeros with all adjacent elements being non-zero...

mehr als 3 Jahre vor

Gelöst


SIMPLE Addition
add three numbers to equal 6

mehr als 3 Jahre vor

Gelöst


Addition
Add the two numbers to equal 3

mehr als 3 Jahre vor

Gelöst


Cricket - You Miss, I Hit (Rank Bowlers by Proportion of Bowled and LBW Wickets)
Which bowlers threaten your stumps the most? Given a table of all wickets taken during some particular set of matches and two th...

mehr als 3 Jahre vor

Gelöst


Volume of a Square
Find a function that creates the volume of a square if side length is 9

mehr als 3 Jahre vor

Gelöst


Easy Sequences 82: Digits of Powers of 2
In Project Euler Problem #16, we are asked for sum of the digits of powers of 2. Here we will be asked for more than that. Give...

mehr als 3 Jahre vor

Gelöst


Count the unitary divisors of a number
Cody Problem 56738 asks for a list of the unitary divisors of a number. For this problem, write a function to count the unitary ...

mehr als 3 Jahre vor

Gelöst


List unitary divisors of a number
A unitary divisor of a number divides and satisfies gcd(,) = 1. For example, 9 is a unitary divisor of 18 because gcd(9,2) = ...

mehr als 3 Jahre vor

Gelöst


learning to code?
dsF

mehr als 3 Jahre vor

Gelöst


Vectorial sum
vectroiral sum

mehr als 3 Jahre vor

Gelöst


dont try dis lmao
sd

mehr als 3 Jahre vor

Gelöst


freeeeeee3

mehr als 3 Jahre vor

Gelöst


freeeeee
free

mehr als 3 Jahre vor

Gelöst


freeeeee
free points

mehr als 3 Jahre vor

Gelöst


Determine if a given input is even or odd?
Given an input, determine if even or odd.

mehr als 3 Jahre vor

Gelöst


Acid-Base Chemistry: Which side of the reaction is more favorable?
In an Acid-Base reaction, there is always going to be an acid, a base, a conjugate acid, and a conjugate base. When provided wit...

mehr als 3 Jahre vor

Gelöst


Just square the input
Square the number

mehr als 3 Jahre vor

Gelöst


Is the number of 1s in a binary integer odd or even?
Your function should turn the input integers into binary form and count the number of 1s in the binary. If the number is odd, re...

mehr als 3 Jahre vor

Gelöst


List the nth term of Rozhenko’s inventory sequence
Consider a sequence constructed by repeated inventories. A new inventory begins each time a zero is encountered. The first few i...

mehr als 3 Jahre vor

Gelöst


Cricket - Report the Result (Part II: Test Matches)
Given two scalar strings representing the scores for a test match, return a string reporting the result in the appropriate form:...

mehr als 3 Jahre vor

Gelöst


Compute the drag on a moving vehicle
We assume no rolling resistance, and the simple rule for Drag : , where is the density of the fluid (assumed at 1.2 ), is the ...

mehr als 3 Jahre vor

Gelöst


Slope intercept application
Find y given slope (m), x, and y intercept (b).

mehr als 3 Jahre vor

Gelöst


Check if a year is a leap year or not
Return 1 if a given year is a leap year or 0 if it is not

mehr als 3 Jahre vor

Gelöst


Remove Duplicates
Remove duplicates from the vector of integers and display in sorted order

mehr als 3 Jahre vor

Gelöst


Determine if vector has any zeroes
Return 1 if vector has atleast 1 zero, else return 0

mehr als 3 Jahre vor

Gelöst


Cricket - Career Bowling Statistics
Given a vector s of strings representing a bowler's individual innings records, return their career statistics as a 3-element (n...

mehr als 3 Jahre vor

Mehr laden