Created
August 22, 2025 02:29
-
-
Save Amorim33/16f08249e5b5f4ef29202ddcfbff1efa to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # O(1) -- Solução ótima | |
| N, M = map(int, input().split()) | |
| if (N - 1) * 4 + N <= M: | |
| print("S") | |
| else: | |
| print("N") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment