結果

問題 No.293 4>7の世界
ユーザー StarMatyanStarMatyan
提出日時 2020-11-23 23:57:44
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 299 bytes
コンパイル時間 242 ms
コンパイル使用メモリ 12,672 KB
実行使用メモリ 10,880 KB
最終ジャッジ日時 2024-07-23 18:09:29
合計ジャッジ時間 1,955 ms
ジャッジサーバーID
(参考情報)
judge1 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3 WA * 1
other AC * 16 WA * 4
権限があれば一括ダウンロードができます

ソースコード

diff #

int_s = input()
int_d = int_s.split(" ")

a_num = int(int_d[0])
b_num = int(int_d[1])

if a_num ==4 and b_num == 7:
	result = a_num
elif a_num ==7 and b_num == 4:
	result = b_num
else:
	if a_num > b_num: 
		result = a_num
	elif a_num < b_num: 
		result = b_num
	else:
		result = a_num

print(result)
0