結果
| 問題 | No.2757 Pin Game |
| コンテスト | |
| ユーザー |
ぶりんがー@みゅーじしゃん
|
| 提出日時 | 2024-07-08 18:45:56 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 206 bytes |
| 記録 | |
| コンパイル時間 | 140 ms |
| コンパイル使用メモリ | 85,284 KB |
| 実行使用メモリ | 122,604 KB |
| 最終ジャッジ日時 | 2026-03-30 08:36:30 |
| 合計ジャッジ時間 | 1,289 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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))
ぶりんがー@みゅーじしゃん