Fixed error in comments
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
//Matthew Ellison
|
//Matthew Ellison
|
||||||
// Created: 12-02-20
|
// Created: 12-02-20
|
||||||
//Modified: 12-02-20
|
//Modified: 12-02-20
|
||||||
//Find the two entries that sum to 2020 and then multiply those two numbers together
|
//Find the three entries that sum to 2020 and then multiply those three numbers together
|
||||||
|
|
||||||
|
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
|||||||
@@ -2,7 +2,9 @@
|
|||||||
//Matthew Ellison
|
//Matthew Ellison
|
||||||
// Created: 12-02-20
|
// Created: 12-02-20
|
||||||
//Modified: 12-02-20
|
//Modified: 12-02-20
|
||||||
//Find the two entries that sum to 2020 and then multiply those two numbers together
|
//Count the number of valid passwords according to their policy:
|
||||||
|
//{char} must appear in {password} >= {minNum} and <={maxNum}
|
||||||
|
//{minNum}-{maxNum} {char}: {password}
|
||||||
|
|
||||||
|
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
|||||||
@@ -2,7 +2,9 @@
|
|||||||
//Matthew Ellison
|
//Matthew Ellison
|
||||||
// Created: 12-02-20
|
// Created: 12-02-20
|
||||||
//Modified: 12-02-20
|
//Modified: 12-02-20
|
||||||
//Find the two entries that sum to 2020 and then multiply those two numbers together
|
//Count the number of valid passwords accoring to the policies
|
||||||
|
//{char} must appear in password at either {firstLoc} or {secondLoc} but not both (xor)
|
||||||
|
//{firstLoc}-{secondLoc} {char}: {password}
|
||||||
|
|
||||||
|
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
|||||||
Reference in New Issue
Block a user