結果
| 問題 | No.2757 Pin Game |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-05-17 21:20:52 |
| 言語 | PyPy3 (8.0.0 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 79 ms / 2,000 ms |
| + 406µs | |
| コード長 | 147 bytes |
| 記録 | |
| コンパイル時間 | 449 ms |
| コンパイル使用メモリ | 80,092 KB |
| 実行使用メモリ | 126,272 KB |
| 最終ジャッジ日時 | 2026-10-05 04:54:44 |
| 合計ジャッジ時間 | 2,652 ms |
|
ジャッジサーバーID (参考情報) |
judge4_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 10 |
ソースコード
n, k = map(int, input().split()) x = list(map(int, input().split())) c = 1 now = x[0] for i in x[1:]: if i - now >= k: c += 1 now = i print(c)