結果

問題 No.208 王将
ユーザー ixmel
提出日時 2017-03-30 17:32:46
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 29 ms / 1,000 ms
コード長 213 bytes
コンパイル時間 136 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 10,752 KB
最終ジャッジ日時 2024-07-07 03:01:37
合計ジャッジ時間 1,380 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 23
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
import math as mas

X,Y=map(int,input().split())
x,y=map(int,input().split())
t=max(X,Y)
if X==Y and x==y and x<X:t+=1
print(t)

#for i in sys.stdin:
#	a,b=map(int,i.split())
#	print(gcd(a,b),lcm(a,b))
0