結果
問題 |
No.998 Four Integers
|
ユーザー |
![]() |
提出日時 | 2020-03-08 19:23:28 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 29 ms / 1,000 ms |
コード長 | 289 bytes |
コンパイル時間 | 80 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 10,752 KB |
最終ジャッジ日時 | 2024-11-30 23:21:15 |
合計ジャッジ時間 | 1,444 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 23 |
ソースコード
from sys import stdin def main(): #入力 readline=stdin.readline l=list(map(int,readline().split())) l.sort() for i in range(1,4): if l[i]!=l[i-1]+1: print("No") break else: print("Yes") if __name__=="__main__": main()