結果
問題 | No.726 Tree Game |
ユーザー |
![]() |
提出日時 | 2022-08-11 08:53:28 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 29 ms / 2,000 ms |
コード長 | 307 bytes |
コンパイル時間 | 257 ms |
コンパイル使用メモリ | 12,416 KB |
実行使用メモリ | 10,752 KB |
最終ジャッジ日時 | 2024-09-21 16:59:14 |
合計ジャッジ時間 | 1,587 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 25 |
ソースコード
import sysreadline=sys.stdin.readlineY,X=map(int,readline().split())if (X,Y)==(1,1):ans="Second"elif 1 in (X,Y):if (X+Y)%2:ans="Second"else:ans="First"elif 2 in (X,Y):ans="Second"else:if (X+Y)%2:ans="First"else:ans="Second"print(ans)