結果
| 問題 |
No.998 Four Integers
|
| コンテスト | |
| ユーザー |
StarMatyan
|
| 提出日時 | 2020-11-28 23:58:15 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
AC
|
| 実行時間 | 32 ms / 1,000 ms |
| コード長 | 330 bytes |
| コンパイル時間 | 126 ms |
| コンパイル使用メモリ | 12,800 KB |
| 実行使用メモリ | 10,880 KB |
| 最終ジャッジ日時 | 2024-09-13 01:42:00 |
| 合計ジャッジ時間 | 1,642 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 23 |
ソースコード
inputer =input()
inputer_s =inputer.split(" ")
num_list = [int(i) for i in list(inputer_s)]
num_list.sort()
count_time = 0
result=0
while count_time <4:
if count_time >0:
if num_list[count_time]-tmp_d==1:
result=result+1
tmp_d=num_list[count_time]
count_time=count_time+1
if result ==3:
print("Yes")
else:
print("No")
StarMatyan