Skip to content

Instantly share code, notes, and snippets.

@sakapon
Created June 1, 2021 01:33
Show Gist options
  • Save sakapon/451d80988ba2652f0f25c3b3c5d94a30 to your computer and use it in GitHub Desktop.
Save sakapon/451d80988ba2652f0f25c3b3c5d94a30 to your computer and use it in GitHub Desktop.
競プロ典型 90 問 / Q020
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);
}
}
@sakapon
Copy link
Author

sakapon commented Jun 1, 2021

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment