結果
| 問題 | No.2774 Wake up Record 2 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-06-07 22:31:45 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 228 bytes |
| 記録 | |
| コンパイル時間 | 810 ms |
| コンパイル使用メモリ | 85,120 KB |
| 実行使用メモリ | 87,296 KB |
| 最終ジャッジ日時 | 2026-06-01 06:28:09 |
| 合計ジャッジ時間 | 2,287 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 1 RE * 2 |
| other | AC * 1 WA * 7 RE * 8 |
ソースコード
n, k = [int(x) for x in input().split()] a = [int(x) for x in input().split()] b = sorted(a) b.append(10 ** 10) x = b[k] c = [] for i in range(1, n): if a[i] <= x and a[i+1] > x: c.append(i + 1) print(len(c)) print(*c)