Algorithm of 621 - Secret Research

Problem Description Link
Actually this problem can be very easy once you know what it means (or when you read this hint).
How to know which output we have to give for each input? The answer is simple:

Positive when S is exactly "1","4",or "78"
Negative when the last two digits of S are exactly "35"
Experiment failed if the first digit of S is exactly "9" and the last one digit of S is exactly "4"
Experiment not completed if the first three digits are exactly "190"
image

No comments:

Post a Comment

Write your comment - Share Knowledge and Experience