ERROR404 - Editorial

PROBLEM LINK:

Practice
Contest: Division 1
Contest: Division 2
Contest: Division 3
Contest: Division 4

Author: notsoloud
Tester: mexomerf
Editorialist: iceknight1093

DIFFICULTY:

TBD

PREREQUISITES:

None

PROBLEM:

Given an error code X between 100 and 999, print the website’s response.

EXPLANATION:

Print "Not Found" if X = 404 and "Found" otherwise.
This can be checked using an if condition.

TIME COMPLEXITY:

\mathcal{O}(1) per testcase.

CODE:

Editorialist's code (Python)
print('Found' if input() != '404' else 'Not Found')