結果
| 問題 | No.2334 Distinct Cards |
| コンテスト | |
| ユーザー |
👑 |
| 提出日時 | 2023-06-02 21:24:27 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 178 bytes |
| 記録 | |
| コンパイル時間 | 289 ms |
| コンパイル使用メモリ | 12,416 KB |
| 実行使用メモリ | 20,848 KB |
| 最終ジャッジ日時 | 2024-12-28 16:14:38 |
| 合計ジャッジ時間 | 2,313 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 1 RE * 1 |
| other | WA * 3 RE * 19 |
ソースコード
I,R=input,range def J(): return map(int,I().split()) N,K=J() A=list(J()) B=[0]*(N+1) for a in A:B[a]+=1 a=0 for b in sorted(B,reverse=True): a+=1 if K<b:print(a).exit(0) K-=b