結果
問題 |
No.998 Four Integers
|
ユーザー |
![]() |
提出日時 | 2020-11-28 23:50:21 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 297 bytes |
コンパイル時間 | 212 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 10,880 KB |
最終ジャッジ日時 | 2024-09-13 01:41:41 |
合計ジャッジ時間 | 1,708 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 22 WA * 1 |
ソースコード
inputer =input() inputer_s =inputer.split(" ") inputer_s.sort() count_time = 0 result=0 while count_time <4: if count_time >0: if int(inputer_s[count_time])-tmp_d==1: result=result+1 tmp_d=int(inputer_s[count_time]) count_time=count_time+1 if result ==3: print("Yes") else: print("No")