結果

問題 No.2481 Shiritori
ユーザー minimum
提出日時 2023-09-22 21:36:53
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 40 ms / 2,000 ms
コード長 135 bytes
コンパイル時間 180 ms
コンパイル使用メモリ 82,236 KB
実行使用メモリ 53,616 KB
最終ジャッジ日時 2025-06-20 01:50:16
合計ジャッジ時間 3,070 ms
ジャッジサーバーID
(参考情報)
judge4 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 38
権限があれば一括ダウンロードができます

ソースコード

diff #

N, M = map(int, input().split())
if M == 1:
    print("First")
elif pow(N, M - 2, 2) == 1:
    print("First")
else:
    print("Second")
0