結果
問題 | No.1692 Expectations |
ユーザー |
![]() |
提出日時 | 2023-07-08 10:41:00 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 236 bytes |
コンパイル時間 | 235 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 33,712 KB |
最終ジャッジ日時 | 2024-07-22 06:28:04 |
合計ジャッジ時間 | 2,506 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 17 WA * 3 |
ソースコード
N, M = map(int, input().split())A = [int(i) for i in input().split()]A = set(A)MA, MI = 0, 0# 1 <= N <= M <= 2 * 10 ^5if N == 1 and M == 1:MA = 1MI = 1exit()elif M > 1:MA = len(A)MI = 0print(MA, MI)