No.8029 Prime Factor
問題文最終更新日: 2020-04-01 19:34:30
English (AI translation)
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 April fool contest 2017
(順位表)
の他の問題:
Problem Statement
Determine the parity of the remainder when the largest prime factor of $26180411287263107299803976957264203054160842086839438580$ is divided by $M$.
Input
$M$
$M$ is an integer satisfying $1 \leq M \leq 40$.
Output
Print "even" if the remainder is even, or "odd" if it is odd, followed by a newline.
Sample
Sample 1
Input
8
Output
odd
The remainder when divided by $8$ is $3$, which is odd.
Sample 2
Input
21
Output
even
The remainder when divided by $21$ is $4$, which is even.
提出するには、Twitter 、GitHub、 Googleもしくは右上の雲マークをクリックしてアカウントを作成してください。
FF256grhy