結果

問題 No.1692 Expectations
ユーザー tktk_snsntktk_snsn
提出日時 2021-10-01 21:40:05
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 140 bytes
コンパイル時間 187 ms
コンパイル使用メモリ 10,668 KB
実行使用メモリ 31,968 KB
最終ジャッジ日時 2023-09-26 16:44:25
合計ジャッジ時間 2,209 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 15 ms
7,828 KB
testcase_01 AC 15 ms
7,828 KB
testcase_02 AC 16 ms
7,816 KB
testcase_03 AC 15 ms
7,816 KB
testcase_04 AC 15 ms
7,784 KB
testcase_05 AC 16 ms
7,864 KB
testcase_06 AC 16 ms
7,816 KB
testcase_07 AC 16 ms
7,816 KB
testcase_08 AC 15 ms
7,884 KB
testcase_09 AC 15 ms
7,876 KB
testcase_10 AC 75 ms
26,888 KB
testcase_11 AC 73 ms
29,284 KB
testcase_12 WA -
testcase_13 WA -
testcase_14 AC 22 ms
10,444 KB
testcase_15 AC 86 ms
26,140 KB
testcase_16 AC 22 ms
10,632 KB
testcase_17 AC 49 ms
17,320 KB
testcase_18 AC 31 ms
14,276 KB
testcase_19 AC 101 ms
29,836 KB
testcase_20 AC 79 ms
30,884 KB
testcase_21 AC 88 ms
31,968 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N, M = map(int, input().split())
A = list(map(int, input().split()))

s = set(A)

max = len(s)
min = 1 if len(s) == 1 else 0
print(max, min)
0