結果
問題 | No.2481 Shiritori |
ユーザー |
![]() |
提出日時 | 2023-09-22 21:46:30 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 214 bytes |
コンパイル時間 | 227 ms |
コンパイル使用メモリ | 82,292 KB |
実行使用メモリ | 53,432 KB |
最終ジャッジ日時 | 2024-07-08 12:30:59 |
合計ジャッジ時間 | 2,941 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 35 WA * 2 |
ソースコード
n, m = map(int,input().split()) if m == 2: print("First") elif m == 1: print("First") elif n == 1: print("First") elif n == 2: print("First") else: if n * m % 2 == 1: print("First") else: print("Second")