結果

問題 No.998 Four Integers
ユーザー StarMatyan
提出日時 2020-11-28 23:49:14
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
RE  
実行時間 -
コード長 296 bytes
コンパイル時間 84 ms
コンパイル使用メモリ 12,672 KB
実行使用メモリ 10,880 KB
最終ジャッジ日時 2024-09-13 01:41:36
合計ジャッジ時間 1,849 ms
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample RE * 2
other RE * 23
権限があれば一括ダウンロードができます

ソースコード

diff #

inputer =input()
inputer_s =inputer.split(" ")
inputer_s.sort()
count_time = 0
result=0

while count_time <4:
	if count_time >0:
		if int(inputer_s[count_time])-tmp==1:
			result=result+1
	tmp_d=int(inputer_s[count_time])
	count_time=count_time+1

if result ==3:
	print("Yes")
else:
	print("No")
0