結果

問題 No.2481 Shiritori
ユーザー titia
提出日時 2023-09-25 02:33:06
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 32 ms / 2,000 ms
コード長 257 bytes
コンパイル時間 306 ms
コンパイル使用メモリ 11,776 KB
実行使用メモリ 10,240 KB
最終ジャッジ日時 2025-06-20 01:53:23
合計ジャッジ時間 2,237 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 38
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
input = sys.stdin.readline

N,M=map(int,input().split())

# aで始まってaで終わる
#x=N**(M-2)

# aで始まってbで終わる, bで始まってaで終わる
#y=N**(M-2)

if N%2==1 or M<=2:
    print("First")
    exit()


print("Second")
0