結果
| 問題 | No.1692 Expectations |
| コンテスト | |
| ユーザー |
tktk_snsn
|
| 提出日時 | 2021-10-01 21:44:30 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
AC
|
| 実行時間 | 135 ms / 2,000 ms |
| + 605µs | |
| コード長 | 158 bytes |
| 記録 | |
| コンパイル時間 | 281 ms |
| コンパイル使用メモリ | 21,540 KB |
| 実行使用メモリ | 38,860 KB |
| 最終ジャッジ日時 | 2026-08-18 12:18:48 |
| 合計ジャッジ時間 | 4,319 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 20 |
ソースコード
N, M = map(int, input().split())
A = list(map(int, input().split()))
s = set(A)
max = len(s)
min = 0
if len(s) == 1 and N == M:
min = 1
print(max, min)
tktk_snsn