結果
問題 | No.998 Four Integers |
ユーザー |
|
提出日時 | 2022-01-18 10:43:16 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 45 ms / 1,000 ms |
コード長 | 162 bytes |
コンパイル時間 | 172 ms |
コンパイル使用メモリ | 82,176 KB |
実行使用メモリ | 52,224 KB |
最終ジャッジ日時 | 2024-11-23 13:19:14 |
合計ジャッジ時間 | 2,306 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 23 |
ソースコード
abcd = list(sorted(map(int,input().split()))) print("Yes") if len(list(filter(lambda x:x!=1,[abcd[i]-abcd[i-1] for i in range(1,len(abcd))])))==0 else print("No")