結果

問題 No.1692 Expectations
ユーザー SidewaysOwlSidewaysOwl
提出日時 2021-10-01 21:25:38
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 159 ms / 2,000 ms
コード長 169 bytes
コンパイル時間 275 ms
コンパイル使用メモリ 86,780 KB
実行使用メモリ 137,884 KB
最終ジャッジ日時 2023-09-26 16:22:57
合計ジャッジ時間 3,463 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 73 ms
71,300 KB
testcase_01 AC 73 ms
71,268 KB
testcase_02 AC 74 ms
70,928 KB
testcase_03 AC 74 ms
71,388 KB
testcase_04 AC 74 ms
71,452 KB
testcase_05 AC 74 ms
71,052 KB
testcase_06 AC 74 ms
71,232 KB
testcase_07 AC 74 ms
71,076 KB
testcase_08 AC 73 ms
71,336 KB
testcase_09 AC 74 ms
71,152 KB
testcase_10 AC 112 ms
102,812 KB
testcase_11 AC 111 ms
102,532 KB
testcase_12 AC 74 ms
71,316 KB
testcase_13 AC 74 ms
71,040 KB
testcase_14 AC 80 ms
77,316 KB
testcase_15 AC 126 ms
118,396 KB
testcase_16 AC 80 ms
77,620 KB
testcase_17 AC 101 ms
97,600 KB
testcase_18 AC 85 ms
82,220 KB
testcase_19 AC 152 ms
124,884 KB
testcase_20 AC 130 ms
128,184 KB
testcase_21 AC 159 ms
137,884 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n,m = map(int,input().split())
a = list(map(int,input().split()))
max_ = len(set(a))
if n == m and len(set(a)) == 1 :
    min_ = 1
else:
    min_ = 0
print(*[max_,min_])
0