Skip to content

detaileddifferences

bradendubois edited this page Jun 9, 2021 · 4 revisions

Detailed Differences

ID: detaileddifferences

Difficulty: 1.4

CPU Time: 1 second

Memory: 1024 MB

Solution

For this one, one can read in the two strings, first and second, and just output them, and then loop from 0 to the length of the strings minus 1, and if first[i] == second[i], output the ".", otherwise "*".

Clone this wiki locally