結果

問題 No.2481 Shiritori
ユーザー tassei903tassei903
提出日時 2023-09-23 13:33:39
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 79 ms / 2,000 ms
コード長 471 bytes
コンパイル時間 591 ms
コンパイル使用メモリ 86,888 KB
実行使用メモリ 71,452 KB
最終ジャッジ日時 2023-09-23 13:33:54
合計ジャッジ時間 5,215 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 74 ms
71,312 KB
testcase_01 AC 74 ms
71,168 KB
testcase_02 AC 76 ms
71,136 KB
testcase_03 AC 77 ms
71,452 KB
testcase_04 AC 77 ms
71,000 KB
testcase_05 AC 78 ms
70,988 KB
testcase_06 AC 77 ms
70,968 KB
testcase_07 AC 73 ms
71,328 KB
testcase_08 AC 73 ms
71,000 KB
testcase_09 AC 75 ms
71,176 KB
testcase_10 AC 74 ms
71,352 KB
testcase_11 AC 74 ms
71,120 KB
testcase_12 AC 74 ms
71,384 KB
testcase_13 AC 74 ms
71,256 KB
testcase_14 AC 73 ms
71,144 KB
testcase_15 AC 73 ms
71,240 KB
testcase_16 AC 74 ms
71,384 KB
testcase_17 AC 74 ms
71,376 KB
testcase_18 AC 73 ms
71,176 KB
testcase_19 AC 74 ms
71,400 KB
testcase_20 AC 73 ms
71,212 KB
testcase_21 AC 76 ms
70,996 KB
testcase_22 AC 73 ms
70,992 KB
testcase_23 AC 74 ms
71,116 KB
testcase_24 AC 77 ms
71,136 KB
testcase_25 AC 76 ms
71,176 KB
testcase_26 AC 75 ms
71,260 KB
testcase_27 AC 74 ms
71,076 KB
testcase_28 AC 74 ms
71,360 KB
testcase_29 AC 74 ms
71,200 KB
testcase_30 AC 75 ms
71,168 KB
testcase_31 AC 76 ms
71,392 KB
testcase_32 AC 76 ms
71,260 KB
testcase_33 AC 77 ms
71,140 KB
testcase_34 AC 75 ms
71,172 KB
testcase_35 AC 77 ms
71,040 KB
testcase_36 AC 76 ms
71,072 KB
testcase_37 AC 79 ms
71,452 KB
testcase_38 AC 78 ms
71,124 KB
testcase_39 AC 76 ms
70,968 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
input = lambda :sys.stdin.readline()[:-1]
ni = lambda :int(input())
na = lambda :list(map(int,input().split()))
yes = lambda :print("yes");Yes = lambda :print("Yes");YES = lambda : print("YES")
no = lambda :print("no");No = lambda :print("No");NO = lambda : print("NO")
#######################################################################

n,m = na()

if m == 1:
    print("First")
elif pow(n, m-2, 2) == 1:
    print("First")
else:
    print("Second")
    
0