結果

問題 No.2481 Shiritori
ユーザー ShirotsumeShirotsume
提出日時 2023-09-22 21:37:03
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 133 ms / 2,000 ms
コード長 319 bytes
コンパイル時間 316 ms
コンパイル使用メモリ 86,772 KB
実行使用メモリ 74,700 KB
最終ジャッジ日時 2023-09-22 21:37:12
合計ジャッジ時間 6,563 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 132 ms
74,700 KB
testcase_01 AC 114 ms
74,052 KB
testcase_02 AC 116 ms
74,456 KB
testcase_03 AC 116 ms
74,052 KB
testcase_04 AC 116 ms
74,564 KB
testcase_05 AC 113 ms
74,244 KB
testcase_06 AC 114 ms
74,232 KB
testcase_07 AC 115 ms
74,504 KB
testcase_08 AC 114 ms
74,004 KB
testcase_09 AC 130 ms
74,564 KB
testcase_10 AC 115 ms
74,700 KB
testcase_11 AC 115 ms
74,216 KB
testcase_12 AC 116 ms
74,556 KB
testcase_13 AC 116 ms
74,652 KB
testcase_14 AC 114 ms
74,596 KB
testcase_15 AC 115 ms
74,564 KB
testcase_16 AC 117 ms
74,468 KB
testcase_17 AC 114 ms
74,580 KB
testcase_18 AC 130 ms
74,460 KB
testcase_19 AC 113 ms
74,460 KB
testcase_20 AC 115 ms
74,048 KB
testcase_21 AC 114 ms
74,656 KB
testcase_22 AC 114 ms
74,560 KB
testcase_23 AC 114 ms
74,264 KB
testcase_24 AC 114 ms
74,376 KB
testcase_25 AC 116 ms
74,596 KB
testcase_26 AC 112 ms
74,636 KB
testcase_27 AC 133 ms
74,216 KB
testcase_28 AC 114 ms
74,380 KB
testcase_29 AC 114 ms
74,492 KB
testcase_30 AC 117 ms
74,352 KB
testcase_31 AC 117 ms
74,268 KB
testcase_32 AC 114 ms
74,352 KB
testcase_33 AC 115 ms
74,440 KB
testcase_34 AC 116 ms
74,020 KB
testcase_35 AC 116 ms
74,260 KB
testcase_36 AC 131 ms
74,684 KB
testcase_37 AC 115 ms
74,468 KB
testcase_38 AC 116 ms
74,436 KB
testcase_39 AC 114 ms
74,584 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys, time, random
from collections import deque, Counter, defaultdict
input = lambda: sys.stdin.readline().rstrip()
ii = lambda: int(input())
mi = lambda: map(int, input().split())
li = lambda: list(mi())
inf = 2 ** 63 - 1
mod = 998244353


n, m = mi()

print('First' if m == 1 or pow(n, m - 2, 2) else 'Second')
0