結果
| 問題 |
No.726 Tree Game
|
| コンテスト | |
| ユーザー |
silversmith
|
| 提出日時 | 2018-11-23 11:02:33 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 260 bytes |
| コンパイル時間 | 223 ms |
| コンパイル使用メモリ | 12,416 KB |
| 実行使用メモリ | 10,752 KB |
| 最終ジャッジ日時 | 2024-12-24 18:03:59 |
| 合計ジャッジ時間 | 2,069 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 23 WA * 2 |
ソースコード
x,y=input().split()
x=int(x)
y=int(y)
def ans(x,y):
flag=True
x,y=min(x,y),max(x,y)
if x==1:
return flag
if x==2:
return flag
if x%2 + y%2 ==1:
flag = not flag
else:
flag=flag
return flag
if ans(x,y):
print("Second")
else:
print("First")
silversmith