結果
問題 | No.2481 Shiritori |
ユーザー |
![]() |
提出日時 | 2023-09-22 21:47:46 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 46 ms / 2,000 ms |
コード長 | 593 bytes |
コンパイル時間 | 172 ms |
コンパイル使用メモリ | 82,200 KB |
実行使用メモリ | 55,936 KB |
最終ジャッジ日時 | 2024-07-08 12:32:00 |
合計ジャッジ時間 | 2,927 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 37 |
ソースコード
#############################################################import syssys.setrecursionlimit(10**7)from heapq import heappop,heappushfrom collections import deque,defaultdict,Counterfrom bisect import bisect_left, bisect_rightfrom itertools import product,combinations,permutationsipt = sys.stdin.readlinedef iin():return int(ipt())def lmin():return list(map(int,ipt().split()))MOD = 998244353#############################################################N,M = lmin()if M <= 2:print("First")exit()if N%2 == 0:print("Second")else:print("First")