Skip to content

earlywinter

bradendubois edited this page Jun 9, 2021 · 6 revisions

Early Winter

ID: earlywinter

Difficulty: 1.8

CPU Time: 1 second

Memory: 1024 MB

Solution

Loop through the values in the second row, and if the given value is less than or equal to d_m, output "It hadn't snowed this early in x years!" where i is the index of this value. If we reach the end of the list, output "It had never snowed this early!"

Clone this wiki locally