結果
問題 |
No.998 Four Integers
|
ユーザー |
|
提出日時 | 2022-08-17 15:54:20 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 37 ms / 1,000 ms |
コード長 | 184 bytes |
コンパイル時間 | 228 ms |
コンパイル使用メモリ | 82,280 KB |
実行使用メモリ | 52,224 KB |
最終ジャッジ日時 | 2024-10-04 17:59:11 |
合計ジャッジ時間 | 1,987 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 23 |
ソースコード
a = [int(i) for i in input().split()] a.sort() now = a[0] for i in range(3): if now + 1 != a[i+1]: print("No") exit() else: now = a[i+1] print("Yes")