結果

問題 No.1692 Expectations
ユーザー 👑 tatyamtatyam
提出日時 2021-10-01 21:23:59
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 138 ms / 2,000 ms
コード長 112 bytes
コンパイル時間 300 ms
コンパイル使用メモリ 87,036 KB
実行使用メモリ 137,488 KB
最終ジャッジ日時 2023-09-26 16:19:05
合計ジャッジ時間 3,518 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 74 ms
71,232 KB
testcase_01 AC 76 ms
71,420 KB
testcase_02 AC 75 ms
71,348 KB
testcase_03 AC 77 ms
71,276 KB
testcase_04 AC 73 ms
71,196 KB
testcase_05 AC 76 ms
71,196 KB
testcase_06 AC 74 ms
71,064 KB
testcase_07 AC 74 ms
71,048 KB
testcase_08 AC 75 ms
71,044 KB
testcase_09 AC 74 ms
71,232 KB
testcase_10 AC 110 ms
102,876 KB
testcase_11 AC 109 ms
102,792 KB
testcase_12 AC 75 ms
71,392 KB
testcase_13 AC 72 ms
71,316 KB
testcase_14 AC 79 ms
77,512 KB
testcase_15 AC 123 ms
118,352 KB
testcase_16 AC 80 ms
77,820 KB
testcase_17 AC 100 ms
97,768 KB
testcase_18 AC 84 ms
82,336 KB
testcase_19 AC 137 ms
124,456 KB
testcase_20 AC 131 ms
128,148 KB
testcase_21 AC 138 ms
137,488 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N, M = map(int, input().split())
A = list(map(int, input().split()))
print(len(set(A)), int(A.count(A[0]) == M))
0