結果
問題 |
No.998 Four Integers
|
ユーザー |
![]() |
提出日時 | 2020-03-04 22:33:32 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 259 bytes |
コンパイル時間 | 183 ms |
コンパイル使用メモリ | 82,028 KB |
実行使用メモリ | 54,228 KB |
最終ジャッジ日時 | 2024-10-14 00:34:39 |
合計ジャッジ時間 | 1,946 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 2 |
other | AC * 4 WA * 19 |
ソースコード
num_list = list(map(int, input().split())) num_list = sorted(num_list) is_succsess = True for i in range(len(num_list)-1): if num_list[i]+1==num_list[i+1]: is_succsess = False break if is_succsess: print("Yes") else: print("No")