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