-
-
Save sakapon/c0772ce205f52dfd92c5d8d2713395e2 to your computer and use it in GitHub Desktop.
sumitrust2019 C - 100 to 105 (1)
This file contains 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
using System; | |
using System.Linq; | |
class C | |
{ | |
static void Main() | |
{ | |
var x = int.Parse(Console.ReadLine()); | |
Console.WriteLine(Enumerable.Range(1, 1000).Any(i => 100 * i <= x && x <= 105 * i) ? 1 : 0); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment