結果
| 問題 | No.998 Four Integers |
| コンテスト | |
| ユーザー |
uni_python
|
| 提出日時 | 2020-07-20 23:09:37 |
| 言語 | PyPy3 (8.0.0 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 24 ms / 1,000 ms |
| + 298µs | |
| コード長 | 398 bytes |
| 記録 | |
| コンパイル時間 | 63 ms |
| コンパイル使用メモリ | 82,004 KB |
| 実行使用メモリ | 56,232 KB |
| 最終ジャッジ日時 | 2026-10-07 10:17:42 |
| 合計ジャッジ時間 | 2,244 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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