結果

問題 No.1692 Expectations
ユーザー mesame3993mesame3993
提出日時 2021-10-01 21:22:21
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 167 bytes
コンパイル時間 663 ms
コンパイル使用メモリ 86,924 KB
実行使用メモリ 137,252 KB
最終ジャッジ日時 2023-09-26 16:15:59
合計ジャッジ時間 3,851 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 72 ms
71,112 KB
testcase_01 AC 73 ms
71,268 KB
testcase_02 AC 73 ms
70,980 KB
testcase_03 AC 74 ms
71,032 KB
testcase_04 AC 74 ms
71,172 KB
testcase_05 AC 73 ms
71,036 KB
testcase_06 AC 74 ms
71,104 KB
testcase_07 AC 74 ms
71,012 KB
testcase_08 AC 72 ms
70,896 KB
testcase_09 AC 72 ms
70,892 KB
testcase_10 AC 108 ms
102,728 KB
testcase_11 AC 109 ms
102,260 KB
testcase_12 WA -
testcase_13 WA -
testcase_14 AC 79 ms
77,052 KB
testcase_15 AC 125 ms
118,208 KB
testcase_16 AC 79 ms
77,248 KB
testcase_17 AC 103 ms
97,428 KB
testcase_18 AC 86 ms
82,052 KB
testcase_19 AC 135 ms
124,356 KB
testcase_20 AC 130 ms
128,028 KB
testcase_21 AC 136 ms
137,252 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n, m = map(int, input().split())
a = list(map(int, input().split()))

st = set(a)
ansMax = len(st)
if len(st) == 1:
	ansMin = 1
else:
	ansMin = 0
print(ansMax, ansMin)
0