結果
| 問題 | No.2757 Pin Game |
| コンテスト | |
| ユーザー |
ぶりんがー@みゅーじしゃん
|
| 提出日時 | 2024-07-08 18:45:56 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 206 bytes |
| 記録 | |
| コンパイル時間 | 373 ms |
| コンパイル使用メモリ | 82,472 KB |
| 実行使用メモリ | 120,880 KB |
| 最終ジャッジ日時 | 2024-07-08 18:45:59 |
| 合計ジャッジ時間 | 2,353 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | RE * 2 |
| other | RE * 10 |
ソースコード
n,k=map(int,input().split()) xlist=list(map(int,input().split())) while True: if abs(xlist[i+1]-xlist[i])<k: xlist.pop(i+1) xlist.sort() else: i=i+1 if len(xlist)<i: break print(len(xlist))
ぶりんがー@みゅーじしゃん