結果
| 問題 |
No.998 Four Integers
|
| コンテスト | |
| ユーザー |
uni_python
|
| 提出日時 | 2020-07-20 23:09:37 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 44 ms / 1,000 ms |
| コード長 | 398 bytes |
| コンパイル時間 | 169 ms |
| コンパイル使用メモリ | 82,600 KB |
| 実行使用メモリ | 53,224 KB |
| 最終ジャッジ日時 | 2024-12-24 19:05:16 |
| 合計ジャッジ時間 | 2,289 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 23 |
ソースコード
import sys
input=sys.stdin.readline
def I(): return int(input())
def MI(): return map(int, input().split())
def LI(): return list(map(int, input().split()))
def main():
mod=10**9+7
L=LI()
L.sort()
flag=1
for i in range(3):
if L[i+1]-L[i]!=1:
flag=0
break
if flag:
print("Yes")
else:
print("No")
main()
uni_python