Skip to content

Solution to the challenge in HackerRank under Algorithms section.

Notifications You must be signed in to change notification settings

suryakanth96/Compare-the-triplets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

Alice and Bob each created one problem. A reviewer rates the two challenges, awarding points on a scale from 1 to 100 for three categories: problem clarity, originality, and difficulty.

The rating for Alice's challenge is defined to be the triplet A=(a0,a1,a2) , and the rating for Bob's challenge to be the triplet B=(b0,b1,b2) .

The task is to find their comparison points by comparing a0 with b0, a1 with b1, and a2 with b2.

If ai>bi, then Alice is awarded point. If ai<bi, then Bob is awarded point. If ai=bi, then neither person receives a point. Comparison points is the total points a person earned.

About

Solution to the challenge in HackerRank under Algorithms section.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages