結果
問題 | No.2481 Shiritori |
ユーザー |
|
提出日時 | 2023-09-22 19:44:41 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 33 ms / 2,000 ms |
コード長 | 145 bytes |
コンパイル時間 | 319 ms |
コンパイル使用メモリ | 11,904 KB |
実行使用メモリ | 10,112 KB |
最終ジャッジ日時 | 2025-06-20 01:49:54 |
合計ジャッジ時間 | 2,903 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 38 |
ソースコード
import sys N, M = map(int, input().split()) if M == 1 : print("First") elif pow(N, min(1, M-2), 2) == 0 : print("Second") else: print("First")