Created
June 1, 2021 01:33
-
-
Save sakapon/451d80988ba2652f0f25c3b3c5d94a30 to your computer and use it in GitHub Desktop.
競プロ典型 90 問 / Q020
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 Q020 | |
{ | |
static void Main() => Console.WriteLine(Solve() ? "Yes" : "No"); | |
static bool Solve() | |
{ | |
var a = Array.ConvertAll(Console.ReadLine().Split(), long.Parse); | |
return a[0] < Enumerable.Repeat(a[2], (int)a[1]).Aggregate((x, y) => x * y); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://atcoder.jp/contests/typical90/submissions/23103792