問題一覧 > 通常問題

No.3248 Construction Problem

レベル : / AI推定難易度 : 143 / 実行時間制限 : 1ケース 2.000秒 / メモリ制限 : 512 MB / 標準ジャッジ問題
タグ : (AC するまで非表示) / 解いたユーザー数 106
作問者 : trqs / テスター : yukicoder
お気に入りにしたユーザー ProblemId : 12577 / 自分の提出
問題文最終更新日: 2025-08-13 09:58:38
This statement was translated by AI (claude-opus-5-5, effort medium) and may contain errors or differ in nuance from the original. The original statement takes precedence. Back to the original
yukicoder contest 480 (Gemini Tester) (順位表) の他の問題:

Note

As a first-time experiment, Gemini 2.5Pro was used as the tester for this problem.

Problem Statement

You are given $2$ positive integers $n,x$. Determine whether there exist $2$ distinct positive integers $a,b$ satisfying $a^xb=n$. Print Yes if they exist, and No if they do not.

Input

$n\ x$

  • $1 \le n,x \le 10^9$

  • Output

    Print Yes or No.

    Sample

    Sample 1
    Input
    1 1
    Output
    No

    Sample 2
    Input
    2 1
    Output
    Yes

    提出するには、Twitter 、GitHub、 Googleもしくは右上の雲マークをクリックしてアカウントを作成してください。