結果
| 問題 | No.998 Four Integers |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-05-14 10:02:33 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 26 ms / 1,000 ms |
| コード長 | 160 bytes |
| 記録 | |
| コンパイル時間 | 455 ms |
| コンパイル使用メモリ | 84,992 KB |
| 実行使用メモリ | 52,096 KB |
| 最終ジャッジ日時 | 2026-04-17 15:14:47 |
| 合計ジャッジ時間 | 2,110 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 23 |
ソースコード
l = list(map(int,input().split()))
l.sort()
for i in range(len(l)-1):
if l[i+1]-l[i] != 1:
print("No")
break
else:
print("Yes")