結果
| 問題 | No.998 Four Integers |
| コンテスト | |
| ユーザー |
StarMatyan
|
| 提出日時 | 2020-11-28 23:58:15 |
| 言語 | Python3 (3.14.7 + numpy 2.5.2 + scipy 1.18.0) |
| 結果 |
AC
|
| 実行時間 | 93 ms / 1,000 ms |
| + 585µs | |
| コード長 | 330 bytes |
| 記録 | |
| コンパイル時間 | 288 ms |
| コンパイル使用メモリ | 21,412 KB |
| 実行使用メモリ | 15,740 KB |
| 最終ジャッジ日時 | 2026-08-25 20:09:13 |
| 合計ジャッジ時間 | 4,266 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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