結果
| 問題 | No.2334 Distinct Cards |
| コンテスト | |
| ユーザー |
👑 |
| 提出日時 | 2023-06-02 21:24:27 |
| 言語 | Python3 (3.15.2 + numpy 2.5.4 + scipy 1.18.1 + ACL) |
| 結果 |
RE
不安定
|
| 実行時間 | - |
| コード長 | 178 bytes |
| 記録 | |
| コンパイル時間 | 506 ms |
| コンパイル使用メモリ | 14,848 KB |
| 実行使用メモリ | 21,456 KB |
| 最終ジャッジ日時 | 2026-10-09 02:36:01 |
| 合計ジャッジ時間 | 3,165 ms |
|
ジャッジサーバーID (参考情報) |
judge4_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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