Skip to content

thelastproblem

bradendubois edited this page Nov 8, 2021 · 9 revisions

The Last Problem

ID: thelastproblem

Difficulty: 1.6

CPU Time: 1 second

Memory: 1024 MB

Solution

For this, just read S, and output "Thank you, S, and farewell!". This may be easier/harder depending on language used for string-building but shouldn't be hard.

Note: My C++ solution seems to only pass 4 cases, but obviously shouldn't be having much trouble, so I've included a Python 3 solution which passes.

Clone this wiki locally