結果
問題 | No.2481 Shiritori |
ユーザー |
![]() |
提出日時 | 2024-12-16 00:26:48 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 39 ms / 2,000 ms |
コード長 | 150 bytes |
コンパイル時間 | 1,456 ms |
コンパイル使用メモリ | 81,940 KB |
実行使用メモリ | 53,584 KB |
最終ジャッジ日時 | 2025-06-20 02:18:52 |
合計ジャッジ時間 | 2,951 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 38 |
ソースコード
N, M = map(int, input().split()) if M == 1: exit(print("First")) ans = pow(N, M-2, 2) if ans == 1: print("First") else: print("Second")