結果
問題 | No.1692 Expectations |
ユーザー | lllllll88938494 |
提出日時 | 2022-01-11 09:26:55 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 158 bytes |
コンパイル時間 | 448 ms |
コンパイル使用メモリ | 81,920 KB |
実行使用メモリ | 133,376 KB |
最終ジャッジ日時 | 2024-04-26 20:31:41 |
合計ジャッジ時間 | 3,085 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 36 ms
51,584 KB |
testcase_01 | WA | - |
testcase_02 | WA | - |
testcase_03 | WA | - |
testcase_04 | AC | 38 ms
51,840 KB |
testcase_05 | WA | - |
testcase_06 | WA | - |
testcase_07 | AC | 39 ms
51,584 KB |
testcase_08 | WA | - |
testcase_09 | AC | 38 ms
51,712 KB |
testcase_10 | WA | - |
testcase_11 | AC | 86 ms
95,744 KB |
testcase_12 | AC | 40 ms
51,968 KB |
testcase_13 | AC | 40 ms
51,712 KB |
testcase_14 | AC | 48 ms
63,744 KB |
testcase_15 | WA | - |
testcase_16 | AC | 47 ms
64,384 KB |
testcase_17 | AC | 71 ms
87,680 KB |
testcase_18 | AC | 51 ms
69,248 KB |
testcase_19 | WA | - |
testcase_20 | WA | - |
testcase_21 | WA | - |
ソースコード
a,b=map(int,input().split()) ns=list(map(int,input().split())) sns=len(set(ns)) if b >= sns: t=max(0,sns-(b-sns)) else: t=b print(min(sns,b),t)